:root {
  --bg: #fafafa;
  --bg-elevated: #ffffff;
  --bg-elevated-soft: #f5f5f5;
  --border-subtle: rgba(15, 23, 42, 0.06);
  --primary: #f5c542;
  --primary-soft: rgba(245, 197, 66, 0.12);
  --primary-strong: #c79402;
  --text: #121212;
  --text-muted: #6b7280;
  --accent-soft: rgba(245, 197, 66, 0.18);
  --danger: #dc2626;

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.08);
  --shadow-dropdown: 0 12px 32px rgba(0, 0, 0, 0.1);

  --container-width: 1120px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #ffffff 0, #f5f5f5 55%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-header.align-left {
  text-align: left;
  margin-left: 0;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: 28px;
  letter-spacing: 0.02em;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-strong);
  margin: 0 0 12px;
}

.accent-text {
  color: var(--primary);
}

.muted {
  color: var(--text-muted);
}

.small {
  font-size: 13px;
}

/* Top bar */
.top-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 16px;
}

.top-bar-phone {
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.15s ease;
}

.top-bar-phone:hover {
  color: var(--primary-strong);
}

.top-bar-tagline {
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.top-bar-cta {
  color: var(--primary-strong);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.15s ease;
}

.top-bar-cta:hover {
  color: var(--primary);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  height: 64px;
  width: auto;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: block;
  padding: 10px 12px;
  color: var(--text-muted);
  transition: color 0.15s ease;
  border-radius: 8px;
}

.nav-list > li > a:hover,
.nav-list > li > a.nav-link-active {
  color: var(--primary-strong);
}

.nav-list > li > a.nav-link-active {
  font-weight: 600;
}

/* Dropdown on hover – digicommerce-style */
.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: 12px 0;
  margin-top: 0;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 50;
  pointer-events: none;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown a,
.dropdown .dropdown-heading {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

.dropdown a:hover {
  color: var(--primary-strong);
  background: var(--primary-soft);
}

.dropdown .dropdown-heading {
  font-weight: 600;
  color: var(--text);
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

/* Premium form alerts (reusable across forms) */
.form-alert {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin: 10px 0 16px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-strong);
  background: var(--bg-elevated);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  color: var(--text);
  font-size: 14px;
  animation: formAlertIn 0.28s ease-out forwards;
  opacity: 0;
  transform: translateY(-6px);
}

.form-alert-success {
  border-left-color: var(--primary-strong);
  background: linear-gradient(135deg, rgba(245, 197, 66, 0.12), #ffffff);
}

.form-alert-error {
  border-left-color: var(--danger);
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), #ffffff);
}

.form-alert-icon {
  font-size: 18px;
  line-height: 1;
  margin-top: 1px;
  color: inherit;
}

.form-alert-text {
  flex: 1;
  line-height: 1.5;
}

.form-alert-hide {
  animation: formAlertOut 0.22s ease-in forwards;
}

@keyframes formAlertIn {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes formAlertOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.dropdown .dropdown-heading:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* Services double dropdown – same card style as other dropdowns */
.dropdown-services {
  position: absolute;
  top: 100%;
  left: 0;
  width: 540px;
  min-width: 0;
  transform: translateY(-8px);
  padding: 0;
  margin-top: 0;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dropdown);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 50;
}

.has-dropdown-services:hover .dropdown-services {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-services-inner {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 12px;
  min-height: 240px;
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: inherit;
  overflow: hidden;
}

/* Left column: category links (first dropdown level) */
.dropdown-services-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px 0;
  border-right: 1px solid var(--border-subtle);
  background: var(--bg-elevated-soft);
}

.dropdown-services-left .dropdown-heading {
  padding: 8px 16px 10px;
  margin: 0;
  border: none;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dropdown-cat-link {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  border-left: 3px solid transparent;
}

.dropdown-cat-link:hover,
.dropdown-cat-link.active {
  color: var(--primary-strong);
  background: var(--primary-soft);
  border-left-color: var(--primary-strong);
}

/* Minimal fix: left category text wraps so it does not overlap right panel */
.dropdown-services-left .dropdown-cat-link {
  min-width: 0;
  overflow-wrap: break-word;
  white-space: normal;
  word-break: break-word;
}

/* Right column: sub-links (second dropdown level) */
.dropdown-services-right {
  position: relative;
  min-width: 0;
  padding: 12px 0 16px;
  min-height: 240px;
  background: #ffffff;
}

/* Minimal fix: right column text wraps so it does not overflow or get cut */
.dropdown-services-right .dropdown-cat-panel {
  min-width: 0;
}
.dropdown-services-right .dropdown-cat-panel .dropdown-heading,
.dropdown-services-right .dropdown-cat-panel a {
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}

.dropdown-cat-panel {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0 16px;
}

.dropdown-cat-panel.active {
  display: flex;
}

.dropdown-cat-panel .dropdown-heading {
  padding: 10px 0 8px;
  margin: 0 0 4px;
  border: none;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-strong);
  border-bottom: 1px solid var(--border-subtle);
}

.dropdown-cat-panel a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  border-radius: 6px;
}

.dropdown-cat-panel a:hover {
  color: var(--primary-strong);
  background: var(--primary-soft);
}

.btn-nav {
  margin-left: 8px;
  padding: 8px 16px !important;
  font-size: 13px !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease,
    box-shadow 0.12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #141417;
  box-shadow: 0 10px 30px rgba(255, 209, 77, 0.22);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(255, 209, 77, 0.28);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: var(--text-muted);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn-block {
  width: 100%;
}

/* Hero */

.hero {
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.1;
}

.hero-subtitle {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 560px;
}

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

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
}

.hero-metrics dt {
  font-size: 20px;
  font-weight: 600;
}

.hero-metrics dd {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.hero-panel {
  position: relative;
}

.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  background: var(--bg-elevated-soft);
}

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  vertical-align: middle;
}

.hero-panel-inner {
  background: radial-gradient(circle at top left, #fff7e5 0, #ffffff 60%);
  border-radius: 26px;
  padding: 24px 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero-panel-inner h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.hero-panel-inner p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.marketplace-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.marketplace-tags li {
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-size: 12px;
}

/* Hero keyword tags (DigiCommerce-style) */
.hero-keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.hero-keyword-tags li {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.1);
  font-size: 12px;
  color: var(--text-muted);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.hero-keyword-tags li:hover {
  border-color: var(--primary-strong);
  color: var(--text);
}

/* Intro block (single paragraph section) */
.section-title-intro {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

.section-intro-p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  text-align: center;
}

.hero-note {
  padding: 10px 12px;
  border-radius: 14px;
  background: #fffaf0;
  border: 1px solid rgba(245, 197, 66, 0.32);
}

.hero-note p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Pills / switcher */

.pill-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.pill {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-muted);
  font-size: 13px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    transform 0.12s ease;
}

.pill.active {
  background: var(--primary-soft);
  border-color: var(--primary-strong);
  color: var(--primary-strong);
  transform: translateY(-1px);
}

.pill-panel {
  display: none;
}

.pill-panel.active {
  display: grid;
}

/* Cards / grids */

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.card p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 13px;
  display: grid;
  gap: 4px;
}

.card .btn {
  margin-top: 14px;
}

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

.service-grid.small {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Service Plans – premium pricing section (scoped to #service-plans only) */
#service-plans.plans-section .plans-section-header {
  margin-bottom: 48px;
}

#service-plans .plans-subtitle {
  margin: 0 auto 20px;
  max-width: 560px;
}

#service-plans .plans-header-divider {
  width: 64px;
  height: 3px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--primary-strong), transparent);
  border-radius: var(--radius-pill);
  opacity: 0.7;
}

#service-plans .plans-grid {
  gap: 24px;
  align-items: stretch;
}

/* Card container – hierarchy, spacing, subtle glow */
#service-plans .plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

#service-plans .plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(165deg, rgba(245, 197, 66, 0.08) 0%, transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

#service-plans .plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
}

#service-plans .plan-card:hover::before {
  opacity: 1;
}

/* Featured (Gold) – slightly bigger, glow, background tint */
#service-plans .plan-card--featured {
  border-color: rgba(245, 197, 66, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(245, 197, 66, 0.2);
  background: linear-gradient(180deg, rgba(245, 197, 66, 0.06) 0%, var(--bg-elevated) 24%);
}

#service-plans .plan-card--featured::before {
  opacity: 1;
  background: linear-gradient(165deg, rgba(245, 197, 66, 0.2) 0%, transparent 50%);
}

#service-plans .plan-card--featured:hover {
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(245, 197, 66, 0.25);
}

@media (min-width: 901px) {
  #service-plans .plan-card--featured {
    transform: scale(1.03);
  }
  #service-plans .plan-card--featured:hover {
    transform: scale(1.03) translateY(-10px);
  }
}

/* Badge – top center for featured */
#service-plans .plan-badge {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  right: auto;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #141417;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 197, 66, 0.35);
}

/* Inner wrapper – padding, flex grow */
#service-plans .plan-card-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 24px 24px;
  min-height: 0;
}

#service-plans .plan-card--featured .plan-card-inner {
  padding-top: 52px;
}

/* Typography hierarchy */
#service-plans .plan-card-header {
  margin-bottom: 18px;
}

#service-plans .plan-icon {
  display: block;
  font-size: 32px;
  line-height: 1;
  margin-bottom: 10px;
}

#service-plans .plan-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

#service-plans .plan-name {
  display: block;
  color: var(--text);
}

#service-plans .plan-price {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-strong);
  margin-top: 4px;
  letter-spacing: -0.02em;
}

#service-plans .plan-type {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Best For – pill/tag */
#service-plans .plan-best-for-pill {
  margin: 12px 0 0;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  background: var(--bg-elevated-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

/* Features list – check icons, spacing, optional scroll on small screens */
#service-plans .plan-features {
  list-style: none;
  padding-left: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}

#service-plans .plan-features li {
  position: relative;
  padding-left: 24px;
}

#service-plans .plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--primary-strong);
  font-weight: 700;
  font-size: 14px;
}

/* Client Benefit – mini card / highlighted block */
#service-plans .plan-benefit-box {
  margin: 0 0 20px;
  padding: 16px;
  background: var(--bg-elevated-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-muted);
}

#service-plans .plan-benefit-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

#service-plans .plan-benefit-box ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

#service-plans .plan-benefit-box ul li {
  position: relative;
  padding-left: 22px;
}

#service-plans .plan-benefit-box ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-strong);
  font-weight: 700;
  font-size: 14px;
}

/* CTA – full width, hover scale + subtle shine */
#service-plans .plan-cta {
  position: relative;
  margin-top: auto;
  width: 100%;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#service-plans .plan-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

#service-plans .plan-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 40px rgba(255, 209, 77, 0.35);
}

#service-plans .plan-cta:hover::after {
  opacity: 1;
}

/* Fade-up animation on load (staggered) */
@keyframes plansFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#service-plans .plans-card {
  animation: plansFadeUp 0.6s ease forwards;
  animation-delay: calc(0.1s * var(--plans-delay, 0));
  opacity: 0;
}

#service-plans .plan-card--featured.plans-card {
  animation-delay: calc(0.1s * var(--plans-delay, 1));
}

/* Responsive – 3 / 2 / 1 columns, spacing, feature scroll on mobile */
@media (max-width: 900px) {
  #service-plans .plans-grid {
    gap: 20px;
  }
  #service-plans .plan-card-inner {
    padding: 24px 20px 20px;
  }
  #service-plans .plan-card--featured .plan-card-inner {
    padding-top: 48px;
  }
  #service-plans .plan-price {
    font-size: 24px;
  }
}

@media (max-width: 720px) {
  #service-plans .plans-section-header {
    margin-bottom: 36px;
  }
  #service-plans .plans-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  #service-plans .plan-card--featured {
    transform: none;
  }
  #service-plans .plan-card--featured:hover {
    transform: translateY(-10px);
  }
  #service-plans .plan-card-inner {
    padding: 22px 18px 20px;
  }
  #service-plans .plan-card--featured .plan-card-inner {
    padding-top: 46px;
  }
  #service-plans .plan-features {
    max-height: 220px;
    overflow-y: auto;
    margin-bottom: 14px;
    padding-right: 4px;
  }
  #service-plans .plan-features::-webkit-scrollbar {
    width: 4px;
  }
  #service-plans .plan-features::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: var(--radius-pill);
  }
  #service-plans .plan-benefit-box {
    padding: 14px;
    margin-bottom: 16px;
  }
}

/* Partner cards (numbered 1–8, DigiCommerce-style) */
.partner-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* 6-card partner grid (e.g. Etsy intro / StoreFront) */
.partner-cards-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-numbered {
  position: relative;
  padding-top: 44px;
}

.card-num {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #141417;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.section-cta-link {
  text-align: center;
  margin: 28px 0 0;
}

.section-cta-link .btn {
  min-width: 140px;
}

/* Metrics strip (Proven Results, 4 columns) */
.metrics-strip {
  padding: 56px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.metrics-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  text-align: center;
}

.metrics-strip-grid dt {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-strong);
  margin: 0;
}

.metrics-strip-grid dd {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

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

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

.numbers-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: center;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.metrics-grid dt {
  font-size: 22px;
  font-weight: 600;
}

.metrics-grid dd {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Section image (numbers / experience) */
.section-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  background: var(--bg-elevated-soft);
}

.section-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  vertical-align: middle;
}

/* Platform cards with graphics */
.platforms-intro {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  margin: 48px 0 20px;
  font-weight: 500;
}

.platform-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  color: var(--text);
}

.platform-card:hover {
  border-color: var(--primary-strong);
  box-shadow: 0 12px 28px rgba(245, 197, 66, 0.15);
  transform: translateY(-2px);
}

.platform-card-img-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-elevated-soft);
  flex-shrink: 0;
}

.platform-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.platform-card-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
}

.platform-card:hover .platform-card-label {
  color: var(--primary-strong);
}

/* Other Services – classy */
.section-other-services {
  padding: 88px 0;
  background: linear-gradient(180deg, #fefdfb 0%, #faf9f7 40%, #ffffff 100%);
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.section-other-services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-strong), transparent);
  border-radius: 0 0 3px 3px;
  opacity: 0.6;
}

.section-header-other {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header-other .eyebrow-other,
.section-header-other h2,
.section-header-other .section-other-subtitle {
  text-align: center;
}

.section-header-other h2 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 14px;
}

.eyebrow-other {
  color: var(--primary-strong);
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  display: block;
}

.section-other-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.58;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.other-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.other-service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.other-service-card:hover {
  border-color: rgba(245, 197, 66, 0.35);
  box-shadow: 0 16px 40px rgba(245, 197, 66, 0.08);
  transform: translateY(-2px);
}

.other-service-card h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.35;
}

.other-service-card p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.58;
}

.other-service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-strong);
  letter-spacing: 0.02em;
  transition: color 0.2s ease, gap 0.2s ease;
}

.other-service-link:hover {
  color: var(--primary);
  gap: 10px;
}

.other-service-link span {
  font-size: 18px;
  line-height: 1;
}

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

.blog-card .badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: #141417;
  font-weight: 600;
  margin-bottom: 6px;
}

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

/* Classy section – dark strip, testimonials */
.section-classy {
  padding: 88px 0;
  background: linear-gradient(165deg, #1c1f26 0%, #252830 50%, #1e2128 100%);
  color: #f4f4f5;
  position: relative;
}

.section-classy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 197, 66, 0.35), transparent);
  opacity: 0.8;
}

.section-header-classy {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
  box-sizing: border-box;
}

.section-header-classy .eyebrow-classy,
.section-header-classy h2,
.section-header-classy .section-classy-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header-classy h2 {
  color: #ffffff;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.eyebrow-classy {
  color: var(--primary);
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  display: block;
}

.section-classy-subtitle {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
  text-align: center;
  display: block;
}

.testimonial-grid-classy {
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.testimonial-card:hover {
  border-color: rgba(245, 197, 66, 0.25);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.testimonial-quote {
  font-size: 16px;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 22px;
  font-style: italic;
  letter-spacing: 0.01em;
  flex-grow: 1;
}

.testimonial-quote::before {
  content: "\201C";
  font-style: normal;
  color: var(--primary);
  opacity: 0.9;
}

.testimonial-footer {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-name {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  font-style: normal;
}

.testimonial-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

/* FAQ */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.8fr);
  gap: 32px;
}

.faq-tags {
  padding: 18px 18px 16px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}

.faq-label {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.faq-tags ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.faq-list {
  display: grid;
  gap: 8px;
}

/* Service detail page: two-column layout + side cards */
.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: start;
}

.service-detail-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-detail-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.service-detail-block h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.service-detail-block p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.service-detail-sublabel {
  margin: 12px 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-strong);
  letter-spacing: 0.02em;
}

.service-detail-block ul {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  display: grid;
  gap: 6px;
}

.service-detail-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 96px;
}

.side-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.side-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.side-card p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.side-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  display: grid;
  gap: 6px;
}

/* Account Setup – timeline / stepper UI */
.account-setup-section .section-header {
  margin-bottom: 48px;
}

.account-setup-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.account-setup-timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-strong) 0%, var(--primary) 50%, rgba(245, 197, 66, 0.4) 100%);
  border-radius: 2px;
  z-index: 0;
}

.account-setup-step {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 28px;
  z-index: 1;
}

.account-setup-step:last-child {
  padding-bottom: 0;
}

.account-setup-step-num {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #141417;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(245, 197, 66, 0.35);
  border: 2px solid #ffffff;
}

.account-setup-step-content {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.account-setup-step-content:hover {
  border-color: rgba(245, 197, 66, 0.3);
  box-shadow: 0 6px 22px rgba(245, 197, 66, 0.08);
}

.account-setup-step-content h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.account-setup-step-content p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Catalog & Operations – bento-style topic cards */
.catalog-ops-section .section-header {
  margin-bottom: 44px;
}

.catalog-ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.catalog-ops-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 24px 20px;
  padding-top: 48px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-ops-card:hover {
  border-color: rgba(245, 197, 66, 0.28);
  box-shadow: 0 8px 28px rgba(245, 197, 66, 0.06);
}

.catalog-ops-card-num {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #141417;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 3px 12px rgba(245, 197, 66, 0.3);
}

.catalog-ops-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.catalog-ops-card > p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.52;
}

.catalog-ops-sublabel {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-strong);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.catalog-ops-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  display: grid;
  gap: 4px;
}

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.step-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
  counter-increment: step;
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

details {
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 12px 14px;
}

details[open] {
  border-color: var(--primary-soft);
  background: #fffbeb;
}

details summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  content: "▾";
  float: right;
  font-size: 11px;
  opacity: 0.8;
}

details[open] summary::after {
  content: "▴";
}

details p {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

/* FAQ section – classy */
.section-faq {
  padding: 88px 0;
  background: linear-gradient(180deg, #ffffff 0%, #fefdfb 30%, #faf9f7 100%);
  border-top: 1px solid var(--border-subtle);
}

.section-header-faq {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
  box-sizing: border-box;
}

.section-header-faq .eyebrow-faq,
.section-header-faq h2,
.section-header-faq .section-faq-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header-faq h2 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 14px;
}

.eyebrow-faq {
  color: var(--primary-strong);
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  display: block;
}

.section-faq-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.58;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: block;
}

.faq-layout-classy {
  gap: 40px;
  align-items: start;
}

.faq-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

.faq-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  background: var(--bg-elevated-soft);
}

.faq-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  vertical-align: middle;
}

.faq-side-intro {
  padding: 20px 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.faq-side-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 12px;
  font-weight: 600;
}

.faq-topics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
}

.faq-topics li {
  padding-left: 16px;
  position: relative;
}

.faq-topics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-strong);
  opacity: 0.7;
}

.faq-content {
  min-width: 0;
}

.faq-list-classy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 0;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.faq-item:hover {
  border-color: rgba(245, 197, 66, 0.25);
  box-shadow: 0 4px 20px rgba(245, 197, 66, 0.06);
}

.faq-item[open] {
  border-color: rgba(245, 197, 66, 0.4);
  background: #fffbeb;
  box-shadow: 0 8px 28px rgba(245, 197, 66, 0.1);
}

.faq-item summary {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.faq-item summary::after {
  content: "▾";
  float: right;
  font-size: 12px;
  color: var(--primary-strong);
  opacity: 0.9;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "▾";
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  padding-top: 4px;
  font-size: 14px;
  line-height: 1.62;
  color: var(--text-muted);
}

/* Forms */

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 13px;
  color: var(--text-muted);
}

.form-field input,
.form-field textarea {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #ffffff;
  color: var(--text);
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--primary-strong);
  box-shadow: 0 0 0 1px var(--primary-soft);
  background: #ffffff;
}

.form-hint {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 12px;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.contact-highlights {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Ready to Grow – classy CTA / Contact */
.section-cta {
  padding: 88px 0;
  background: linear-gradient(165deg, #1c1f26 0%, #252830 50%, #1e2128 100%);
  color: #f4f4f5;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 197, 66, 0.4), transparent);
  opacity: 0.8;
}

.section-header-cta {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
  box-sizing: border-box;
}

.section-header-cta .eyebrow-cta,
.section-header-cta h2,
.section-header-cta .section-cta-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header-cta h2 {
  color: #ffffff;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.eyebrow-cta {
  color: var(--primary);
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  display: block;
}

.section-cta-subtitle {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 16px;
  line-height: 1.58;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: block;
}

.consultation-grid-classy {
  gap: 32px;
  align-items: stretch;
}

.cta-form-wrap {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 28px 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.cta-form-title {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.form-cta .form-field label {
  color: var(--text-muted);
  font-size: 13px;
}

.form-cta .form-field input,
.form-cta .form-field textarea {
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  padding: 12px 14px;
  font-size: 14px;
}

.form-cta .form-field input:focus,
.form-cta .form-field textarea:focus {
  border-color: var(--primary-strong);
  box-shadow: 0 0 0 2px var(--primary-soft);
}

.form-cta .form-footer {
  margin-top: 6px;
}

/* Map iframe in CTA contact */
.cta-map-wrap {
  margin-top: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.cta-map-label {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}

.cta-map-iframe {
  display: block;
  width: 100%;
  height: 280px;
  min-height: 200px;
  border: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.cta-contact-wrap {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.cta-contact-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.cta-contact-intro {
  margin: 0 0 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.contact-highlights-classy {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.contact-item-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}

.contact-item-value {
  font-size: 15px;
  color: #ffffff;
  line-height: 1.45;
  transition: color 0.2s ease;
}

a.contact-item-value:hover {
  color: var(--primary);
}

.consultation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: flex-start;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text);
  background: #ffffff;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--primary-strong);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Amazon.com onboard page – hero banner (full-width bg image + overlay) */
.hero-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
}

.hero-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=1600&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.88) 0%, rgba(18, 18, 18, 0.72) 50%, rgba(28, 28, 28, 0.85) 100%);
}

.hero-banner-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-banner-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.hero-banner-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 14px;
}

.hero-banner-content h1 {
  margin: 0 0 18px;
  font-size: 38px;
  line-height: 1.15;
  color: #ffffff;
  font-weight: 700;
}

.hero-banner-subtitle {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.hero-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

@media (max-width: 720px) {
  .hero-banner {
    min-height: 360px;
    padding: 60px 0;
  }
  .hero-banner-content h1 {
    font-size: 28px;
  }
  .hero-banner-subtitle {
    font-size: 15px;
  }
}

/* How we work – card icons (illustrations) */
.onboard-card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  color: var(--primary-strong);
  flex-shrink: 0;
}

.onboard-card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.onboard-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.onboard-card h3 {
  margin: 0 0 10px;
}

.onboard-card p {
  margin: 0;
  flex-grow: 1;
}

/* Amazon.com onboard page – intro, how we work, metrics strip */
.onboard-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.onboard-intro h2 {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 1.3;
}

.onboard-intro-lead {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.onboard-intro p {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.onboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.onboard-metrics dt {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-strong);
}

.onboard-metrics dd {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

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

/* Footer */

.site-footer {
  padding: 40px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 2.1fr);
  gap: 28px;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 10px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  font-size: 13px;
}

.footer-columns h3 {
  margin: 0 0 10px;
  font-size: 14px;
}

.footer-columns ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 5px;
  color: var(--text-muted);
}

.footer-columns li {
  cursor: default;
}

.footer-columns li:hover {
  color: var(--primary-strong);
}

/* Utilities */

.badge {
  border-radius: 999px;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 68px;
  }

  .service-grid,
  .service-grid.small,
  .calculator-grid,
  .management-grid,
  .blog-grid,
  .testimonial-grid,
  .numbers-grid,
  .consultation-grid,
  .footer-grid,
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-cards-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .catalog-ops-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .service-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-detail-side {
    position: static;
  }

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

  .other-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-faq {
    padding: 72px 0;
  }

  .faq-side {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .faq-image-wrap {
    flex: 1 1 100%;
  }

  .faq-side-intro {
    flex: 1 1 auto;
    min-width: 200px;
  }

  .section-cta {
    padding: 72px 0;
  }

  .section-header-cta {
    margin: 0 auto 40px;
  }
}

@media (max-width: 720px) {
  .top-bar-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px 16px;
    font-size: 12px;
  }

  .top-bar-tagline {
    order: 3;
    width: 100%;
    text-align: center;
  }

  .header-inner {
    height: 60px;
  }

  .brand-logo {
    height: 54px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    bottom: auto;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 12px 16px 24px;
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 90;
    box-shadow: var(--shadow-dropdown);
  }

  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list > li {
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-list > li:last-child {
    border-bottom: none;
  }

  .nav-list > li > a {
    padding: 14px 0;
  }

  .has-dropdown .dropdown {
    position: static;
    left: auto;
    right: auto;
    width: 100%;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--bg-elevated-soft);
    border-radius: 8px;
    margin-top: 6px;
    margin-bottom: 6px;
  }

  .has-dropdown.dropdown-open .dropdown {
    max-height: 280px;
    overflow-y: auto;
    padding: 8px 0;
    margin: 6px 0;
  }

  .dropdown-services.dropdown-open {
    max-height: 70vh;
    overflow-y: auto;
  }

  .has-dropdown .dropdown a,
  .has-dropdown .dropdown .dropdown-heading {
    padding: 8px 16px;
  }

  .dropdown-services {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 8px;
    box-shadow: none;
  }

  .dropdown-services-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .dropdown-services-left {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 12px;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    border-radius: 8px 8px 0 0;
  }

  .dropdown-services-left .dropdown-heading {
    flex-basis: 100%;
    padding: 4px 12px 8px;
    font-size: 10px;
  }

  .dropdown-cat-link {
    padding: 8px 12px;
    font-size: 12px;
    border-left: none;
    border-radius: 6px;
  }

  .dropdown-services-right {
    padding: 12px;
    min-height: 0;
  }

  .dropdown-cat-panel .dropdown-heading {
    padding: 8px 0 6px;
    font-size: 11px;
  }

  .dropdown-cat-panel a {
    padding: 8px 12px;
  }

  .btn-nav {
    margin-left: 0;
    margin-top: 8px;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .hero-metrics {
    gap: 14px;
  }

  .service-grid,
  .service-grid.small,
  .calculator-grid,
  .management-grid,
  .blog-grid,
  .testimonial-grid,
  .footer-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .platform-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platforms-intro {
    margin-top: 36px;
  }

  .section-other-services {
    padding: 64px 0;
  }

  .section-header-other {
    margin: 0 auto 36px;
  }

  .section-header-other h2 {
    font-size: 26px;
  }

  .other-services-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .other-service-card {
    padding: 22px 20px;
  }

  .section-faq {
    padding: 56px 0;
  }

  .section-header-faq {
    margin: 0 auto 36px;
  }

  .section-header-faq h2 {
    font-size: 26px;
  }

  .faq-side {
    flex-direction: column;
  }

  .faq-item summary {
    padding: 14px 16px;
    font-size: 14px;
  }

  .faq-item p {
    padding: 0 16px 16px;
    padding-top: 2px;
    font-size: 13px;
  }

  .section-cta {
    padding: 56px 0;
  }

  .section-header-cta {
    margin: 0 auto 36px;
  }

  .section-header-cta h2 {
    font-size: 26px;
  }

  .cta-form-wrap,
  .cta-contact-wrap {
    padding: 22px 20px;
  }

  .contact-item {
    padding-bottom: 14px;
  }

  .metrics-grid,
  .metrics-strip-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .partner-cards,
  .partner-cards-6 {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-setup-step {
    grid-template-columns: 32px 1fr;
    gap: 14px;
    padding-bottom: 22px;
  }

  .account-setup-step-num {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .account-setup-timeline::before {
    left: 14px;
    top: 24px;
  }

  .account-setup-step-content {
    padding: 14px 16px;
  }

  .account-setup-step-content h3 {
    font-size: 15px;
  }

  .account-setup-step-content p {
    font-size: 13px;
  }

  .catalog-ops-card {
    padding: 18px 18px 16px;
    padding-top: 44px;
  }

  .catalog-ops-card-num {
    width: 26px;
    height: 26px;
    font-size: 12px;
    top: 14px;
    right: 16px;
  }

  .catalog-ops-card h3 {
    font-size: 15px;
  }

  .catalog-ops-card > p,
  .catalog-ops-card ul {
    font-size: 13px;
  }

  .consultation-grid,
  .numbers-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 56px 0;
  }

  .section-alt {
    padding: 64px 0;
  }

  .section-classy {
    padding: 64px 0;
  }

  .section-header-classy {
    margin: 0 auto 40px;
  }

  .section-header-classy h2 {
    font-size: 26px;
  }

  .testimonial-card {
    padding: 22px 20px;
  }

  .testimonial-quote {
    font-size: 15px;
  }
}

/* Scroll-triggered animations – noticeable */
.animate-on-scroll {
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll:not(.in-view) {
  opacity: 0;
  transform: translateY(56px) scale(0.97);
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .animate-on-scroll:not(.in-view),
  .animate-on-scroll.in-view {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .animate-on-scroll { transition-delay: 0s !important; }
}

/* Hover animations – noticeable */
.service-grid .card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-grid .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
}

.hero-image-wrap,
.section-image-wrap,
.faq-image-wrap {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image-wrap:hover,
.section-image-wrap:hover,
.faq-image-wrap:hover {
  transform: scale(1.06);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.18);
}

.btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.03);
}

.btn-primary:hover {
  box-shadow: 0 16px 40px rgba(255, 209, 77, 0.35);
}

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

.platform-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(245, 197, 66, 0.22);
}

.other-service-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.other-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 48px rgba(245, 197, 66, 0.15);
}

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

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3);
}

.faq-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  transform: translateX(6px);
}

.faq-item[open] {
  transform: translateX(4px);
}

.cta-form-wrap,
.cta-contact-wrap {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cta-form-wrap:hover,
.cta-contact-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}

.nav-list > li > a:not(.btn) {
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-list > li > a:not(.btn):hover {
  transform: translateY(-1px);
}

.other-service-link:hover {
  gap: 12px;
}

.contact-item-value {
  transition: color 0.2s ease, transform 0.2s ease;
}

a.contact-item-value:hover {
  transform: translateX(4px);
}

/* .form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-control::placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #e9ecef;
  opacity: 1;
}

textarea.form-control {
  min-height: calc(1.5em + 0.75rem + 2px);
} */

/* Modern Calculator Section – Two Column Layout */
.section-calculator-modern {
  padding: 4rem 0;
  animation: fadeIn 0.6s ease-out;
}

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

.calculator-header {
  text-align: center;
  margin-bottom: 3rem;
}

.calculator-modern-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

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

/* Input Card */
.calculator-input-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
  transition: box-shadow 0.3s ease;
}

.calculator-input-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.calculator-form-modern {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calculator-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.form-field-modern {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field-modern label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.form-field-modern input,
.form-field-modern select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #ffffff;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-field-modern input:focus,
.form-field-modern select:focus {
  outline: none;
  border-color: var(--primary-strong);
  box-shadow: 0 0 0 3px var(--primary-soft);
  transform: translateY(-1px);
}

.form-field-modern input:hover,
.form-field-modern select:hover {
  border-color: rgba(148, 163, 184, 0.65);
}

.calculator-form-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.calculator-form-actions .btn {
  transition: all 0.2s ease;
}

.calculator-form-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-large {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
}

/* Results Card */
.calculator-results-card {
  position: sticky;
  top: 2rem;
  align-self: start;
}

.calculator-results-modern {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.calculator-results-modern:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Empty State */
.results-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  min-height: 350px;
  gap: 1rem;
}

.results-empty-icon {
  color: var(--text-muted);
  opacity: 0.4;
  margin-bottom: 0.5rem;
}

.results-empty-icon svg {
  display: block;
}

.results-empty-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.results-empty-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  max-width: 280px;
  line-height: 1.6;
}

.results-empty-desc strong {
  color: var(--primary-strong);
}

/* Filled State */
.results-filled-state {
  display: none;
  opacity: 0;
  animation: fadeInUp 0.4s ease-out forwards;
}

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

.results-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1.5rem 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary-soft);
}

.results-list-modern {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.result-item-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.2s ease;
}

.result-item-modern:last-child {
  border-bottom: none;
}

.result-item-modern:hover {
  background-color: var(--bg-elevated-soft);
  margin: 0 -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: var(--radius-md);
}

.result-label-modern {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.result-value-modern {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

/* Profit Row Highlighting */
.result-item-profit {
  background: linear-gradient(135deg, var(--primary-soft) 0%, rgba(245, 197, 66, 0.08) 100%);
  margin: 1rem -2rem -2rem -2rem;
  padding: 1.5rem 2rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border-top: 2px solid var(--primary);
  border-bottom: none;
  font-weight: 600;
}

.result-item-profit:hover {
  margin: 1rem -2rem -2rem -2rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.result-item-profit .result-label-modern {
  font-size: 16px;
  font-weight: 600;
}

.result-value-profit {
  font-size: 20px;
  font-weight: 700;
}

.result-item-profit.profit-positive {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
  border-top-color: #22c55e;
}

.result-item-profit.profit-positive .result-value-profit {
  color: #22c55e;
}

.result-item-profit.profit-negative {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
  border-top-color: #ef4444;
}

.result-item-profit.profit-negative .result-value-profit {
  color: #ef4444;
}

/* Legacy form-footer (used elsewhere) */
.form-footer {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .calculator-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .calculator-form,
  .calculator-results {
    position: static;
  }

  .calculator-results {
    min-height: 200px;
  }

  .results-empty {
    min-height: 200px;
  }
}

/* Responsive Calculator Styles */
@media (max-width: 900px) {
  .calculator-modern-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .calculator-results-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .section-calculator-modern {
    padding: 2.5rem 0;
  }

  .calculator-header {
    margin-bottom: 2rem;
  }

  .calculator-form-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .calculator-input-card {
    padding: 1.5rem;
  }

  .calculator-results-modern {
    padding: 1.5rem;
    min-height: 300px;
  }

  .results-empty-state {
    min-height: 250px;
    padding: 1.5rem 1rem;
  }

  .calculator-form-actions {
    flex-direction: column;
  }

  .calculator-form-actions .btn {
    width: 100%;
  }

  .result-item-profit {
    margin: 1rem -1.5rem -1.5rem -1.5rem;
    padding: 1.25rem 1.5rem;
  }

  .result-item-profit:hover {
    margin: 1rem -1.5rem -1.5rem -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   SEO COMPONENTS – Breadcrumbs, Related Links, Last Updated
   ═══════════════════════════════════════════════════════════════════ */

/* Breadcrumb Navigation */
.breadcrumb {
  margin-bottom: 18px;
}
.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb-list li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--text-muted);
  opacity: 0.7;
}
.breadcrumb-list a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb-list a:hover {
  color: var(--primary-strong);
}
.breadcrumb-list [aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}

/* Related Links Grid (for Related Tools / Related Services blocks) */
.section-related-tools,
.section-related-services {
  padding-top: 48px;
  padding-bottom: 48px;
}
.related-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.related-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.related-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border-color: rgba(245, 197, 66, 0.3);
  color: var(--primary-strong);
}
.related-link-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary-strong);
}
.related-link-name {
  flex: 1;
}
.related-link-arrow {
  color: var(--text-muted);
  font-size: 16px;
  transition: transform 0.2s ease;
}
.related-link-card:hover .related-link-arrow {
  transform: translateX(3px);
  color: var(--primary-strong);
}

/* Last Updated badge (for policy pages) */
.last-updated {
  display: inline-block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding: 4px 10px;
  background: var(--bg-elevated-soft);
  border-radius: var(--radius-md);
}

@media (max-width: 900px) {
  .related-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .related-links-grid {
    grid-template-columns: 1fr;
  }
}