:root {
  --bg: #f7f5ef;
  --bg-soft: #fffaf0;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-alt: #eef5f7;
  --line: rgba(22, 49, 72, 0.12);
  --line-strong: rgba(22, 49, 72, 0.18);
  --text: #13314d;
  --muted: #4e6578;
  --subtle: #7890a3;
  --navy: #10233c;
  --navy-soft: #183250;
  --solar: #f5a623;
  --solar-soft: #ffd88a;
  --wind: #49b7bf;
  --wind-soft: #d8f2f4;
  --success: #16825d;
  --danger: #c95252;
  --shadow: 0 28px 72px rgba(16, 35, 60, 0.10);
  --shadow-soft: 0 18px 40px rgba(16, 35, 60, 0.07);
  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(245, 166, 35, 0.22), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(73, 183, 191, 0.18), transparent 24%),
    linear-gradient(180deg, #fbf4e6 0%, #fffdf8 18%, #f7fbfc 48%, #f7f5ef 100%);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(100px);
  opacity: 0.6;
}

body::before {
  width: 320px;
  height: 320px;
  top: 90px;
  left: -70px;
  background: rgba(245, 166, 35, 0.15);
}

body::after {
  width: 280px;
  height: 280px;
  top: 360px;
  right: -70px;
  background: rgba(73, 183, 191, 0.14);
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

p {
  margin: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(16, 35, 60, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: fit-content;
}

.brand-badge {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 18px;
  background: linear-gradient(145deg, #17395d 0%, #0f2944 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 14px 30px rgba(4, 15, 28, 0.18);
  overflow: hidden;
}

.brand-sun {
  position: absolute;
  width: 18px;
  height: 18px;
  top: 10px;
  left: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff6cf 0%, #ffd16f 38%, #f5a623 100%);
  box-shadow: 0 0 22px rgba(245, 166, 35, 0.35);
}

.brand-wind,
.brand-wind::before,
.brand-wind::after {
  position: absolute;
  display: block;
  content: "";
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(73, 183, 191, 0.2), rgba(73, 183, 191, 1));
}

.brand-wind {
  width: 22px;
  right: 8px;
  top: 20px;
}

.brand-wind::before {
  width: 28px;
  right: -2px;
  top: 8px;
}

.brand-wind::after {
  width: 18px;
  right: 3px;
  top: 16px;
}

.brand-wordmark strong {
  display: block;
  color: #f8fbff;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.brand-wordmark strong span {
  color: var(--solar-soft);
}

.brand-wordmark small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(226, 238, 247, 0.7);
}

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 14px;
  min-width: 0;
}

.main-nav a {
  color: rgba(233, 242, 247, 0.88);
  font-size: 14px;
  padding: 8px 2px;
  white-space: nowrap;
}

.main-nav a:hover,
.footer-links a:hover,
.text-link:hover,
.breadcrumbs a:hover {
  color: var(--wind);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #f8fbff;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

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

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

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

.mobile-nav {
  display: none;
}

.primary-btn,
.ghost-btn,
.text-link {
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.primary-btn {
  background: linear-gradient(135deg, #f8be4c 0%, #f5a623 55%, #ff8f4f 100%);
  color: #10233c;
  border: 0;
  box-shadow: 0 16px 30px rgba(245, 166, 35, 0.24);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(245, 166, 35, 0.28);
}

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fbff;
  background: rgba(255, 255, 255, 0.02);
}

.ghost-btn:hover {
  border-color: rgba(255, 216, 138, 0.5);
  color: var(--solar-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-weight: 800;
  color: var(--navy);
}

.text-link::after {
  content: "→";
}

.hero-shell {
  position: relative;
  overflow: clip;
  padding: 26px 0 26px;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 210, 115, 0.42), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(73, 183, 191, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(255, 247, 228, 0.96) 0%, rgba(247, 252, 253, 0.82) 65%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(480px, 0.88fr);
  gap: 38px;
  align-items: center;
  padding: 34px 0 48px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  max-width: 13.5ch;
  font-size: clamp(34px, 4vw, 58px);
  color: var(--navy);
}

.eyebrow {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #2d8f96;
}

.hero-copy p,
.section-copy,
.card p,
.service-intro,
.lead-box p,
.copy-large {
  color: var(--muted);
  line-height: 1.72;
}

.hero-copy p {
  margin-top: 22px;
  max-width: 60ch;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  max-width: 760px;
}

.hero-proof div,
.result-stats div,
.mini-metric {
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 49, 77, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero-proof strong,
.result-stats strong {
  display: block;
  font-size: 28px;
  color: var(--navy);
}

.hero-proof span,
.result-stats span {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: var(--subtle);
  line-height: 1.5;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-top: 26px;
  max-width: 760px;
}

.hero-point {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.hero-point .icon-badge {
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 14px;
}

.hero-point strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  color: var(--navy);
}

.hero-point span {
  color: var(--muted);
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-carousel {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(19, 49, 77, 0.08);
  box-shadow: var(--shadow);
  background: #ffffff;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 25, 44, 0.08), rgba(10, 25, 44, 0.28));
}

.hero-slide figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  width: fit-content;
  max-width: calc(100% - 44px);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(16, 35, 60, 0.74);
  color: #f8fbff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-note {
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(16, 35, 60, 0.97), rgba(24, 50, 80, 0.96));
  color: #f6fbff;
  box-shadow: 0 20px 42px rgba(16, 35, 60, 0.16);
}

.visual-note .eyebrow {
  color: #8de0e4;
}

.visual-note h2 {
  font-size: clamp(26px, 2.6vw, 38px);
  max-width: 14ch;
  color: #ffffff;
}

.visual-note p:last-child {
  margin-top: 12px;
  color: rgba(231, 240, 246, 0.84);
}

.section {
  padding: 80px 0 10px;
}

.section h2 {
  width: min(100%, 900px);
  font-size: clamp(30px, 3vw, 46px);
  color: var(--navy);
}

.section-copy {
  width: min(100%, 840px);
  margin-top: 16px;
  font-size: 17px;
}

.section-content {
  margin-top: 34px;
}

.hero-grid,
.grid-2,
.grid-3,
.grid-4,
.tool-workspace,
.footer-grid,
.form-grid,
.service-hero,
.trust-strip {
  display: grid;
  gap: 20px;
  align-items: start;
}

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

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

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

.card,
.tile,
.metric,
.lead-box,
.service-panel,
.calc-panel,
.result-panel,
.cta-banner {
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid rgba(19, 49, 77, 0.08);
  box-shadow: var(--shadow-soft);
}

.card,
.tile,
.metric,
.service-panel,
.calc-panel,
.result-panel,
.cta-banner {
  padding: 30px;
}

.lead-box {
  padding: 32px;
}

.card h3,
.lead-box h3,
.service-panel h3,
.result-panel h3,
.metric strong,
.cta-banner h3 {
  font-size: clamp(22px, 1.8vw, 30px);
  color: var(--navy);
  margin-bottom: 14px;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 46px rgba(16, 35, 60, 0.11);
}

.service-card,
.case-card,
.feature-card,
.quote-card,
.partner-card,
.tool-card {
  height: 100%;
}

.service-photo-card {
  position: relative;
  display: block;
  min-height: 360px;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
}

.service-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 25, 44, 0.08) 0%, rgba(10, 25, 44, 0.18) 35%, rgba(10, 25, 44, 0.72) 100%);
}

.service-photo-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 28px;
  color: #f8fbff;
}

.service-photo-copy h3,
.service-photo-copy p {
  color: inherit;
}

.service-photo-copy h3 {
  margin-bottom: 10px;
  font-size: clamp(26px, 2.2vw, 34px);
}

.service-photo-copy .icon-badge {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
}

.service-photo-copy p {
  max-width: 36ch;
  line-height: 1.65;
}

.case-card {
  background: linear-gradient(180deg, rgba(17, 46, 71, 0.96), rgba(22, 52, 78, 0.94));
  color: #eef7fb;
}

.case-card h3,
.case-card p,
.case-card .eyebrow,
.case-card strong {
  color: inherit;
}

.case-card .eyebrow {
  color: #8de0e4;
}

.case-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(42px, 5vw, 60px);
  color: #ffd88a;
}

.feature-card {
  background: linear-gradient(135deg, rgba(238, 245, 247, 1) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.metric-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 233, 0.96));
}

.metric-card h3 {
  font-size: clamp(58px, 8vw, 92px);
  color: var(--navy);
}

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

.service-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 26px;
  padding: 48px 0 26px;
}

.service-hero h1 {
  width: min(100%, 720px);
  font-size: clamp(38px, 4.4vw, 64px);
  color: var(--navy);
}

.service-intro {
  margin-top: 22px;
  font-size: 18px;
  width: min(100%, 740px);
}

.service-media {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 22px;
}

.service-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.list-item {
  padding: 17px 18px;
  border-radius: 18px;
  background: rgba(73, 183, 191, 0.08);
  border: 1px solid rgba(73, 183, 191, 0.12);
  color: var(--text);
  line-height: 1.64;
}

.cta-banner {
  background:
    radial-gradient(circle at 92% 16%, rgba(255, 216, 138, 0.55), transparent 22%),
    linear-gradient(135deg, rgba(255, 250, 240, 0.98) 0%, rgba(255, 255, 255, 0.94) 100%);
}

.cta-banner h3 {
  width: min(100%, 16ch);
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 18px;
  color: var(--subtle);
  font-size: 14px;
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding: 56px 0;
}

.site-footer {
  margin-top: 86px;
  background: linear-gradient(180deg, #10233c 0%, #0b1b31 100%);
  color: #eef5fb;
}

.site-footer h2,
.site-footer .eyebrow,
.footer-label {
  color: #ffffff;
}

.site-footer p,
.site-footer li,
.footer-bar {
  color: rgba(231, 240, 246, 0.76);
}

.footer-label {
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.footer-bar {
  padding: 18px 0 28px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lead-form,
.calc-form {
  display: grid;
  gap: 14px;
}

.lead-box,
.calc-panel {
  background:
    radial-gradient(circle at top right, rgba(255, 216, 138, 0.18), transparent 22%),
    radial-gradient(circle at bottom left, rgba(73, 183, 191, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(11, 27, 49, 0.98), rgba(16, 35, 60, 0.96));
  border-color: rgba(141, 224, 228, 0.16);
  box-shadow: 0 28px 64px rgba(8, 18, 33, 0.24);
}

.lead-box h3,
.lead-box p,
.lead-box .check,
.lead-box .form-feedback,
.calc-panel h3,
.calc-panel p,
.calc-panel .check,
.calc-panel .form-feedback {
  color: rgba(236, 244, 250, 0.88);
}

.lead-box .eyebrow,
.calc-panel .eyebrow {
  color: #8de0e4;
}

.tool-workspace {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

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

.lead-form .form-grid,
.lead-form .check,
.lead-form .primary-btn,
.lead-form .form-feedback {
  grid-column: 1 / -1;
}

.field-shell {
  min-width: 0;
}

.lead-form input,
.lead-form textarea,
.lead-form select,
.calc-form input,
.calc-form textarea,
.calc-form select {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(248, 251, 255, 0.96);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder,
.calc-form input::placeholder,
.calc-form textarea::placeholder {
  color: rgba(78, 101, 120, 0.82);
}

.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus,
.calc-form input:focus,
.calc-form textarea:focus,
.calc-form select:focus {
  outline: none;
  border-color: rgba(73, 183, 191, 0.6);
  box-shadow: 0 0 0 4px rgba(73, 183, 191, 0.12);
}

.lead-form input.is-invalid,
.lead-form textarea.is-invalid,
.lead-form select.is-invalid,
.field-shell.is-invalid input,
.field-shell.is-invalid textarea,
.field-shell.is-invalid select {
  border-color: rgba(201, 82, 82, 0.92);
  box-shadow: 0 0 0 4px rgba(201, 82, 82, 0.16);
}

.lead-form textarea,
.calc-form textarea {
  min-height: 120px;
  resize: vertical;
}

.full-span {
  grid-column: 1 / -1;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 2px;
  color: rgba(236, 244, 250, 0.84);
  font-size: 14px;
}

.check.is-invalid {
  border-radius: 16px;
  background: rgba(201, 82, 82, 0.12);
  box-shadow: inset 0 0 0 1px rgba(201, 82, 82, 0.36);
}

.check input {
  margin-top: 4px;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-feedback {
  font-size: 14px;
}

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

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

.partner-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.pill {
  height: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(245, 166, 35, 0.24);
  background: rgba(245, 166, 35, 0.15);
  color: #ab6400;
  font-size: 12px;
  font-weight: 800;
}

.meta {
  margin-top: 18px;
  color: var(--subtle);
  font-size: 14px;
}

.testimonial-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
}

.testimonial-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 25, 44, 0.08) 0%, rgba(10, 25, 44, 0.18) 34%, rgba(10, 25, 44, 0.82) 100%);
}

.testimonial-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 24px;
  color: #f8fbff;
}

.testimonial-copy p {
  color: inherit;
  font-size: 21px;
  line-height: 1.55;
}

.testimonial-author {
  margin-top: 16px;
  color: rgba(241, 247, 252, 0.84);
  font-size: 14px;
}

.tool-card h3,
.partner-card h3 {
  width: min(100%, 18ch);
}

.result-stats {
  display: grid;
  gap: 12px;
  margin: 18px 0 20px;
}

.calc-panel .primary-btn {
  width: fit-content;
  margin-top: 8px;
}

.result-panel {
  position: sticky;
  top: 100px;
}

.icon-badge {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 18px;
  color: #147c86;
  background: linear-gradient(180deg, rgba(73, 183, 191, 0.12), rgba(255, 216, 138, 0.18));
  border: 1px solid rgba(73, 183, 191, 0.12);
}

.icon-badge svg {
  width: 28px;
  height: 28px;
  display: block;
}

.leadstar-banner-wrap {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.leadstar-slot {
  width: 100%;
  margin-top: 14px;
  display: flex;
  justify-content: center;
  overflow: auto;
}

.partner-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.partner-promo-item,
.partner-promo-inline {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  text-decoration: none;
}

.partner-promo-item img,
.partner-promo-inline img {
  display: block;
  width: 100%;
  height: auto;
}

.partner-promo-inline h3 {
  margin: 0 0 12px;
  color: var(--ink-strong);
}

.partner-promo-inline img {
  border-radius: 12px;
}

.partner-promo-links,
.partner-promo-inline-links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-promo-links a,
.partner-promo-inline-links a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(16, 35, 60, 0.14);
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  color: #12345a;
  background: rgba(20, 124, 134, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.partner-promo-links a:hover,
.partner-promo-inline-links a:hover {
  transform: translateY(-1px);
  background: rgba(20, 124, 134, 0.14);
  box-shadow: 0 10px 24px rgba(16, 35, 60, 0.12);
}

.pagination-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 50;
  width: min(94%, 440px);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(16, 35, 60, 0.94);
  color: #f8fbff;
  box-shadow: 0 18px 38px rgba(16, 35, 60, 0.24);
}

.sticky-cta a {
  border-radius: 999px;
  background: linear-gradient(135deg, #f8be4c 0%, #f5a623 100%);
  color: #10233c;
  padding: 10px 16px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .hero,
  .service-hero,
  .tool-workspace,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .result-panel {
    position: static;
  }

  .partner-promo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .main-nav,
  .header-actions {
    display: none;
  }

  .hero {
    gap: 28px;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-proof,
  .hero-points,
  .grid-2,
  .grid-3,
  .trust-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .header-row {
    gap: 14px;
  }

  .section {
    padding-top: 72px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .mobile-nav {
    position: fixed;
    inset: 81px 14px auto;
    z-index: 39;
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .mobile-nav-inner {
    padding: 18px;
    border-radius: 24px;
    background: rgba(16, 35, 60, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 42px rgba(16, 35, 60, 0.3);
  }

  .mobile-nav-links {
    display: grid;
    gap: 6px;
  }

  .mobile-nav-links a {
    padding: 14px 10px;
    border-radius: 14px;
    color: #f8fbff;
    font-weight: 700;
  }

  .mobile-nav-links a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .mobile-nav-actions {
    display: grid;
    gap: 10px;
    margin-top: 14px;
  }

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

@media (max-width: 720px) {
  .container {
    width: min(100%, calc(100% - 28px));
  }

  .brand-wordmark small {
    display: none;
  }

  .brand-wordmark strong {
    font-size: 28px;
  }

  .hero {
    padding: 24px 0 34px;
  }

  .hero-carousel {
    min-height: 360px;
  }

  .hero-copy p,
  .service-intro,
  .section-copy,
  .copy-large {
    font-size: 16px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(32px, 10vw, 48px);
  }

  .hero-proof {
    margin-top: 22px;
  }

  .card,
  .tile,
  .metric,
  .service-panel,
  .calc-panel,
  .result-panel,
  .cta-banner,
  .lead-box {
    padding: 24px;
  }

  .sticky-cta {
    display: flex;
  }

  .service-photo-card {
    min-height: 280px;
  }

  .testimonial-card {
    min-height: 360px;
  }

  .testimonial-copy p {
    font-size: 18px;
  }
}
