:root {
  --orange: #f99d0b;
  --orange-soft: rgba(249, 157, 11, 0.12);
  --blue: #08193d;
  --blue-soft: #0d2147;
  --page: #f8f9fb;
  --surface: #ffffff;
  --surface-muted: #f3f6fa;
  --border: #e6ebf2;
  --text: #233042;
  --text-muted: #617287;
  --text-dark-soft: rgba(255, 255, 255, 0.72);
  --text-dark: rgba(255, 255, 255, 0.88);
  --success: #15803d;
  --danger: #dc2626;
  --shadow: 0 14px 40px rgba(8, 25, 61, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--page);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 157, 11, 0.12);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(8, 25, 61, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-bar {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.desktop-nav,
.desktop-cta {
  display: none;
}

.desktop-nav {
  align-items: center;
  gap: 32px;
}

.desktop-nav a {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.mobile-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 0 20px;
}

.mobile-nav a:not(.button) {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
}

.section {
  padding: 72px 0;
}

.section-light {
  background: var(--page);
}

.section-muted {
  background: var(--surface-muted);
}

.section-dark,
.hero-dark,
.site-footer {
  background: var(--blue);
}

.hero {
  padding: 70px 0 72px;
}

.hero-grid,
.split-grid,
.footer-grid {
  display: grid;
  gap: 32px;
}

.hero-copy {
  display: grid;
  gap: 26px;
}

.hero-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--orange);
  background: rgba(249, 157, 11, 0.1);
  border: 1px solid rgba(249, 157, 11, 0.3);
  font-size: 16px;
  font-weight: 600;
}

.pill-icon {
  width: auto;
  height: 22px;
}

.hero-text-group h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(42px, 8vw, 68px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-text-group h1 span,
.section-head h2 span,
.panel-centered h3 span,
.section-dark .section-head h2 span {
  color: var(--orange);
}

.hero-text-group p,
.section-head p,
.panel-intro,
.tone-card li,
.criteria-item p,
.ia-panel p,
.mini-card p,
.footer-brand p,
.footer-bottom,
.privacy-note,
.form-status,
.info-card p,
.info-card a {
  margin: 0;
  line-height: 1.75;
}

.hero-text-group p {
  max-width: 680px;
  color: var(--text-dark-soft);
  font-size: 18px;
}

.button-row,
.tag-list,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--orange);
  color: var(--blue);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.button-small {
  padding: 12px 20px;
  font-size: 14px;
}

.button-block {
  width: 100%;
}

.button svg {
  width: 16px;
  height: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
  line-height: 1.2;
}

.tag img {
  width: auto;
  height: 18px;
}

.tag.dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-dark);
}

.hero-side {
  display: grid;
  gap: 24px;
}

.panel,
.card,
.tone-card,
.mini-card {
  border-radius: 24px;
}

.panel {
  padding: 30px;
}

.panel-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-compact {
  padding: 20px 30px;
}

.panel-compact p,
.eyebrow {
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
}

.panel-intro {
  color: var(--text-dark-soft);
  font-size: 14px;
  margin-top: 10px;
}

.level-stack {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.level-card {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 18px;
  padding: 16px;
}

.level-card.highlight {
  background: var(--orange);
  color: var(--blue);
}

.level-card.dimmed {
  background: rgba(255, 255, 255, 0.07);
  opacity: 0.72;
}

.level-icon,
.icon-box,
.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.level-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  flex-shrink: 0;
}

.level-card.highlight .level-icon {
  background: var(--blue);
  color: var(--orange);
}

.level-icon svg,
.icon-box svg,
.social-links svg {
  width: 20px;
  height: 20px;
}

.level-kicker {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dark-soft);
}

.level-card.highlight .level-kicker {
  color: rgba(8, 25, 61, 0.6);
}

.level-title,
.level-subtitle,
.card h3,
.mini-card h3,
.info-card h3,
.form-success h3,
.panel-centered h3,
.stat-card h3 {
  margin: 0;
}

.level-title {
  color: var(--text-dark-soft);
  font-size: 14px;
  font-weight: 800;
}

.level-card.highlight .level-title {
  color: var(--blue);
}

.level-subtitle {
  margin-top: 2px;
  color: var(--text-dark-soft);
  font-size: 12px;
}

.level-card.highlight .level-subtitle {
  color: rgba(8, 25, 61, 0.78);
}

.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-head.tight {
  margin-bottom: 0;
}

.section-kicker,
.mini-kicker,
.footer-title,
.field span,
.tone-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker,
.mini-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--orange);
  margin-bottom: 18px;
}

.section-kicker::before,
.mini-kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--orange);
}

.section-head h2 {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-head.light h2,
.section-head.light p,
.mini-card h3 {
  color: #fff;
}

.section-head.light p,
.ia-panel p,
.mini-card p {
  color: var(--text-dark-soft);
}

.section-head.light .section-kicker,
.section-head.light .section-kicker::before {
  color: var(--orange);
}

.site-footer,
.site-footer a,
.footer-title {
  color: #fff;
}

.section-head p {
  color: var(--text-muted);
  font-size: 18px;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.card,
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 26px;
}

.card p,
.stat-card p,
.info-card p,
.info-card a,
.form-success p {
  color: var(--text-muted);
  font-size: 14px;
}

.card h3,
.info-card h3,
.stat-card h3 {
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
  margin-top: 18px;
  margin-bottom: 12px;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--orange-soft);
  color: var(--orange);
}

.tone-card {
  padding: 26px;
  border: 1px solid transparent;
}

.tone-danger {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.2);
}

.tone-warm {
  background: rgba(249, 157, 11, 0.08);
  border-color: rgba(249, 157, 11, 0.25);
}

.tone-label {
  margin: 0 0 18px;
  color: #ef6b6b;
}

.tone-label-warm {
  color: var(--orange);
}

.tone-card ul {
  margin: 0;
  padding-left: 18px;
}

.tone-danger li {
  color: var(--text-dark-soft);
}

.tone-warm li {
  color: var(--text-dark);
}

.two-up,
.criteria-list,
.info-stack,
.field-grid {
  display: grid;
  gap: 18px;
}

.criteria-item,
.mini-card,
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.criteria-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px 18px;
}

.criteria-item img {
  width: auto;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.criteria-item p,
.fit-tags,
.footer-brand p,
.footer-bottom p {
  color: var(--text-dark);
}

.fit-tags {
  margin-top: 30px;
}

.stat-number {
  color: var(--orange) !important;
  font-size: 34px !important;
  font-weight: 900;
  line-height: 1.05;
}

.source-pill {
  display: inline-flex;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
}

.panel-centered {
  margin-top: 36px;
  text-align: center;
  background: #091b43;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-centered h3 {
  margin-top: 14px;
  color: #fff;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.1;
  font-weight: 900;
}

.panel-centered p:last-child {
  margin-top: 14px;
  color: var(--text-dark-soft);
  font-size: 18px;
}

.ia-header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

.maximizia-logo {
  width: min(190px, 46vw);
  height: auto;
  align-self: flex-end;
}

.ia-panel {
  background: var(--blue-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px;
}

.ia-panel p + p {
  margin-top: 22px;
}

.dark-cards .mini-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
}

.dark-cards {
  margin-top: 40px;
}

.mini-card p {
  color: var(--text-dark-soft);
  font-size: 13px;
  margin-top: 8px;
}

.form-card {
  position: relative;
}

.ajax-form {
  display: grid;
  gap: 18px;
}

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

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

.field small {
  font-size: 12px;
  color: var(--text-muted);
}

.field input.is-invalid,
.field textarea.is-invalid,
.field select.is-invalid {
  border-color: var(--danger);
}

.error {
  min-height: 16px;
  color: var(--danger) !important;
}

.file-field input {
  padding: 12px;
}

.privacy-note {
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
}

.privacy-note a,
.footer-bottom a {
  color: var(--orange);
}

.form-status {
  min-height: 22px;
  color: var(--text-muted);
  font-size: 14px;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.form-success {
  text-align: center;
  padding: 32px 10px;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 28px;
  font-weight: 900;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  padding-top: 56px;
}

.footer-grid {
  padding-bottom: 28px;
}

.footer-logo {
  width: auto;
  height: 44px;
  margin-bottom: 18px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.footer-title {
  margin: 0 0 16px;
  color: var(--text-dark-soft);
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: var(--text-dark);
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-dark-soft);
  font-size: 12px;
  text-align: center;
}

@media (min-width: 720px) {
  .hero,
  .section {
    padding: 92px 0;
  }

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

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

@media (min-width: 960px) {
  .desktop-nav,
  .desktop-cta {
    display: flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 48px;
  }

  .split-grid.contact-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
  }

  .split-grid:not(.contact-grid) {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }

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

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

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

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

  .ia-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
