:root {
  --bg: #050712;
  --bg-alt: #0b0f1f;
  --surface: #101426;
  --border: #252a3f;
  --text: #f5f7ff;
  --text-muted: #d0d4e0;
  --accent: #5dc8b1;
  --accent-soft: rgba(93, 200, 177, 0.22);
  --accent-2: #24407a;
  --danger: #ff4b81;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.4);
  --max-width: 1120px;
  --transition-fast: 0.18s ease-out;
  --primarycolor: #24407a;
  --secondarycolor: #5dc8b1;
  --tritorycolor: #24407a;
  --text-light: #ffffff;
  --bg-dark: #0b0f1a;

  /* Aliases for existing selectors */
  --primary: var(--accent);
  --primary-soft: var(--accent-soft);
  --text-main: var(--text);
  --border-soft: var(--border);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background:
    linear-gradient(rgba(35, 40, 70, 0.84), rgba(5, 7, 18, 0.84)),
    url("assets/Banner Background.png") center top / cover no-repeat fixed;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header / Nav */

header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(11, 15, 31, 0.96),
    rgba(11, 15, 31, 0.88),
    rgba(11, 15, 31, 0)
  );
  border-bottom: 1px solid rgba(37, 42, 63, 0.8);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  height: 56px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.nav-logo img {
  height: 56px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.nav-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-title-main {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 18px;
}

.nav-title-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

.nav-links a {
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), var(--accent-2));
  transition: width var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-mobile-cta {
  display: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
  margin: 3px 0;
}

/* Buttons */

.btn {
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    background 0.12s ease-out, color 0.12s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(36, 64, 122, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(36, 64, 122, 0.72);
}

.btn-ghost {
  background: rgba(16, 20, 38, 0.82);
  color: var(--text-main);
  border: 1px solid rgba(37, 42, 63, 0.9);
}

.btn-ghost:hover {
  background: var(--surface);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

/* Layout */

main {
  flex: 1;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
}

.section + .section {
  margin-top: 10px;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(36, 64, 122, 0),
    rgba(93, 200, 177, 0.55),
    rgba(36, 64, 122, 0)
  );
}

.section.hero::before {
  display: none;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent), #8fe2d1);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  color: var(--text-muted);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.25);
}

/* Hero card */

.hero-card {
  background: radial-gradient(circle at top left, #171e37, #101426 45%, #0b0f1f 100%);
  border-radius: 26px;
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(37, 42, 63, 0.9);
  position: relative;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.hero-card-title {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-card-pill {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(65, 163, 23, 0.14);
  color: #9fef7e;
  border: 1px solid rgba(65, 163, 23, 0.35);
}

.hero-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.hero-card-metric-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hero-card-metric-value {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.hero-card-metric-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.hero-card-badge {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(16, 20, 38, 0.9);
  border: 1px solid rgba(37, 42, 63, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-card-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-card-graphic {
  position: relative;
  padding: 10px;
}

.hero-card-blob {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0, rgba(59, 130, 246, 0.35), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(16, 185, 129, 0.35), transparent 55%);
  opacity: 0.9;
  filter: blur(4px);
}

.hero-card-avatar {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  border-radius: 0;
  margin: 0 auto;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-shadow: none;
}

.hero-card-avatar img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.hero-card-footer {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
}

.hero-card-footer > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-card-footer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.7);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

/* Section headings */

.section-header {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
}

.section-title {
  font-size: 24px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 520px;
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  background: rgba(16, 20, 38, 0.96);
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-pill {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.service-title {
  font-size: 16px;
  font-weight: 600;
}

.service-body {
  font-size: 13px;
  color: var(--text-muted);
}

.service-list {
  margin: 8px 0 0;
  padding-left: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.service-list li + li {
  margin-top: 3px;
}

.service-footer {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  gap: 10px;
}

.service-price {
  font-weight: 600;
  color: var(--text-main);
}

.service-cta {
  font-size: 12px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* ROI */

.roi-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 20px;
}

.roi-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 18px 18px 16px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-subtle);
  font-size: 14px;
  color: var(--text-muted);
}

.roi-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.roi-field {
  margin-bottom: 10px;
}

.roi-field label {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
  color: var(--text-muted);
}

.roi-field input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: rgba(11, 15, 31, 0.9);
  color: var(--text-main);
  padding: 8px 10px;
  font-size: 13px;
  outline: none;
}

.roi-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(93, 200, 177, 0.7);
}

.roi-btn {
  margin-top: 6px;
}

.roi-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.roi-output {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roi-output-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.roi-output-metric {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(11, 15, 31, 0.9);
  border: 1px solid var(--border-soft);
}

.roi-output-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.roi-output-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
}

.roi-module + .roi-module {
  margin-top: 20px;
}

.roi-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-left: 6px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  color: var(--accent);
  vertical-align: middle;
}

.roi-tip-text {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  width: 240px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-subtle);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  z-index: 30;
}

.roi-tip:hover .roi-tip-text,
.roi-tip:focus .roi-tip-text {
  display: block;
}

/* Matrices */

.matrix {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-subtle);
  background: var(--surface);
  font-size: 13px;
}

.matrix-row {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr));
}

.matrix-support .matrix-row {
  grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr));
}

.matrix-header {
  background: #171d35;
  font-weight: 600;
  color: var(--text-main);
}

.matrix-cell {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
  text-align: center;
}

.matrix-cell:last-child {
  border-right: none;
}

.matrix-cell-label {
  text-align: left;
  font-weight: 500;
  background: #141a31;
}

/* Steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.step-card {
  background: rgba(16, 20, 38, 0.96);
  border-radius: var(--radius-md);
  padding: 14px 14px 12px;
  border: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--text-muted);
  box-shadow: var(--shadow-subtle);
}

.step-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-main);
}

/* Portfolio */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.portfolio-item {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 10px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.portfolio-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 18, 0.48);
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.portfolio-item:hover {
  transform: translateY(-2px);
  border-color: rgba(93, 200, 177, 0.6);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.portfolio-item:hover::after {
  opacity: 0;
}

.portfolio-item img {
  max-height: 40px;
  object-fit: contain;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.about-text {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-list {
  margin: 8px 0 0;
  padding-left: 16px;
  font-size: 13px;
  color: var(--text-muted);
  columns: 2;
  column-gap: 24px;
}

.about-list li + li {
  margin-top: 4px;
}

.about-card {
  background: var(--bg-dark);
  color: #e5e7eb;
  border-radius: 20px;
  padding: 16px 16px 14px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 13px;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.35), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.35), transparent 55%);
  opacity: 0.7;
  mix-blend-mode: screen;
}

.about-card-inner {
  position: relative;
  z-index: 1;
}

.about-card-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 6px;
}

.about-card-main {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.about-card-meta {
  font-size: 12px;
  color: #cbd5f5;
  margin-bottom: 8px;
}

.about-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.about-card-tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

/* Consult / Contact */

.consult-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.consult-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 18px 18px 16px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-subtle);
  font-size: 14px;
  color: var(--text-muted);
}

.consult-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.consult-list {
  margin: 8px 0 0;
  padding-left: 16px;
  font-size: 13px;
}

.consult-list li + li {
  margin-top: 4px;
}

.consult-note {
  margin-top: 10px;
}

.consult-form {
  background: var(--bg-dark);
  color: #e5e7eb;
  border-radius: 20px;
  padding: 18px 18px 16px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 13px;
}

.consult-form-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: #e5e7eb;
}

.consult-form label {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
  color: #cbd5f5;
}

.consult-form input,
.consult-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  padding: 8px 10px;
  font-size: 13px;
  margin-bottom: 10px;
  outline: none;
}

.consult-form input:focus,
.consult-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(93, 200, 177, 0.7);
}

.consult-form textarea {
  min-height: 90px;
  resize: vertical;
}

.consult-btn {
  width: 100%;
  justify-content: center;
}

.consult-alt {
  margin-top: 8px;
  font-size: 12px;
  color: #cbd5f5;
}

.consult-alt a {
  color: var(--accent);
  text-decoration: underline;
}

/* Footer */

footer {
  border-top: 1px solid rgba(37, 42, 63, 0.9);
  background: rgba(11, 15, 31, 0.95);
  margin-top: 30px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 500;
}

.back-to-top-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(93, 200, 177, 0.55);
  background: rgba(36, 64, 122, 0.55);
  backdrop-filter: blur(6px);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(11, 18, 36, 0.55);
  z-index: 70;
  transition: transform var(--transition-fast), background var(--transition-fast),
    border-color var(--transition-fast);
}

.back-to-top-fab:hover {
  transform: translateY(-2px);
  background: rgba(93, 200, 177, 0.3);
  border-color: rgba(93, 200, 177, 0.85);
}

/* Responsive */

@media (max-width: 1024px) {
  .nav {
    position: relative;
  }

  .nav-left {
    min-width: 0;
    flex: 1;
  }

  .nav-cta {
    display: none;
  }

  .nav-mobile-cta {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
    flex-shrink: 0;
    z-index: 51;
  }

  .nav.nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
    z-index: 50;
    max-height: min(70vh, calc(100vh - 90px));
    overflow-y: auto;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .consult-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .roi-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .hero-title {
    font-size: 32px;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-list {
    columns: 1;
  }

  .matrix-row {
    grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr));
  }

  .matrix-support .matrix-row {
    grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr));
  }
}
