:root {
  --bg: #f4f4f4;
  --surface: #ffffff;
  --surface-muted: #e9ecef;
  --text: #171717;
  --text-muted: #535353;
  --border: #cfcfcf;
  --accent: #FF7A01;
  --accent-hover: #e96f00;
  --dark: #111111;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius-pill: 999px;
  --radius-card: 1.5rem;
  --max-width: 1200px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Blinker", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow,
.hero-copy-animated,
.hero-actions-animated {
  opacity: 0;
  transform: translateY(18px);
}

.hero.is-visible .hero-eyebrow {
  animation: heroFadeUp 0.7s ease forwards;
  animation-delay: 0.15s;
}

.hero.is-visible .hero-copy-animated {
  animation: heroFadeUp 0.8s ease forwards;
  animation-delay: 1.1s;
}

.hero.is-visible .hero-actions-animated {
  animation: heroFadeUp 0.8s ease forwards;
  animation-delay: 1.35s;
}

.hero-title-animated .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  will-change: transform, opacity;
}

.hero.is-visible .hero-title-animated .word {
  animation: heroCharUp 0.6s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow,
  .hero-copy-animated,
  .hero-actions-animated,
  .hero-title-animated .word {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

.hero-title-animated .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  will-change: transform, opacity;
  margin-right: 0.22em;
}

.hero-title-animated .word:last-child {
  margin-right: 0;
}

.hero.is-visible .hero-title-animated .word {
  animation: heroCharUp 0.6s ease forwards;
}



.hero-title-animated .space {
  display: inline-block;
  width: 0.28em;
}

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

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

/* Optional: slightly smoother parallax rendering */
.hero-media {
  will-change: transform;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow,
  .hero-copy-animated,
  .hero-actions-animated,
  .hero-title-animated .char {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

.blinker-thin {
  font-family: "Blinker", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.blinker-extralight {
  font-family: "Blinker", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.blinker-light {
  font-family: "Blinker", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.blinker-regular {
  font-family: "Blinker", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.blinker-semibold {
  font-family: "Blinker", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.blinker-bold {
  font-family: "Blinker", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.blinker-extrabold {
  font-family: "Blinker", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.blinker-black {
  font-family: "Blinker", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.logo-list-animated .logo-item {
  opacity: 0;
  transform: translateY(14px);
  will-change: transform, opacity;
}

.logo-list-animated.is-visible .logo-item {
  animation: logoFadeUp 0.6s ease forwards;
}

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

@media (prefers-reduced-motion: reduce) {
  .logo-list-animated .logo-item {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid #0b6efd;
  outline-offset: 3px;
}

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--dark);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 0.5rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.narrow {
  max-width: 980px;
}

#logo {
  width: 200px;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3rem;
  min-height: 5.25rem;
  background-color: white;
}

.header-cta {
  margin-left: auto;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}

.logo-mark {
  font-weight: 800;
  font-size: 1.85rem;
  font-style: italic;
}

.logo-submark {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  text-transform: lowercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-right: auto;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 0.75rem;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  padding: 0;
  margin: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  border-radius: var(--radius-pill);
  min-height: 3.5rem;
  padding: 0.875rem 1.5rem;
}

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

.button-sm {
  min-height: 2.75rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
}

.button-lg {
  min-height: 3.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-hover);
}

.button-secondary {
  background: rgba(17, 17, 17, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(17, 17, 17, 0.4);
}

.button-secondary-dark {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.button-secondary-dark:hover,
.button-secondary-dark:focus-visible {
  background: #f0f0f0;
}

.hero {
  position: relative;
  min-height: min(48rem, 80vh);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: -8%;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.85) 0%, rgba(15, 15, 15, 0.72) 36%, rgba(15, 15, 15, 0.48) 62%, rgba(15, 15, 15, 0.58) 100%),
    url("../images/hero-image.jpg") center/cover no-repeat;
  z-index: -2;
  will-change: transform;
  transform: translateY(0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.45), rgba(17, 17, 17, 0.1));
  z-index: -1;
}

.hero-content {
  color: #fff;
  padding-block: 6rem 5rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15rem;
}

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

.hero h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.96;
  font-weight: 800;
}

.hero-copy {
  max-width: 42rem;
  font-size: 1.25rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.section-muted {
  background: #dfe4e8;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.section h2,
.section-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
}

.platforms p {
  max-width: 65rem;
  color: var(--text-muted);
  margin: 0 auto;
}

.logo-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;

  align-items: center;
  justify-items: center;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 60px; /* THIS normalizes visual height */
  width: 100%;
}

.logo-item img {
  max-height: 38px;
  max-width: 100%;
  object-fit: contain;

  filter: grayscale(100%) opacity(0.8);
  transition: all 0.2s ease;
}

.logo-item img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

/* normalize logo sizing */
.logo-list img {
  max-height: 38px;
  width: auto;
  object-fit: contain;

  filter: grayscale(100%) opacity(0.8);
  transition: all 0.2s ease;
}

/* subtle hover polish */
.logo-list img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

.card-image,
.industry-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 1.25rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.capability-card {
  background: var(--surface);
  border: 1px solid #bdbdbd;
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  min-height: 100%;
}

.card-illustration {
  border-radius: 1rem;
  background: linear-gradient(180deg, #eaeaea, #dcdcdc);
  margin-bottom: 1.25rem;
}

.capability-card h3 {
  font-size: 1.8rem;
  line-height: 1;
  margin: 0 0 0.85rem;
}

.capability-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.capability-card h4 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
}

.capability-card ul {
  margin: 0;
  padding-left: 1.25rem;
}

.capability-card li + li {
  margin-top: 0.45rem;
}

.capability-card li::marker {
  color: #FF7A01;
}

.two-column-list {
  columns: 2;
  column-gap: 1.5rem;
}

.industries-section {
  background: #ececec;
}

.industries-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  text-align: center;
  text-transform: none;
}

.industries-intro {
  max-width: 62rem;
  color: var(--text-muted);
  text-align: left;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.industry-card {
  background: var(--surface);
  border: 1px solid #bdbdbd;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  min-height: 100%;
}

.industry-card__content {
  padding: 1.5rem;
}

.industry-card h3 {
  font-size: 1.8rem;
  line-height: 1;
  margin: 0 0 0.35rem;
}

.industry-type {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  color: var(--text);
}

.industry-image {
  border-radius: 1rem;
  border: none;
  background: linear-gradient(180deg, #eaeaea, #dcdcdc);
  margin-bottom: 1.25rem;
}

.industry-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.industry-card ul {
  margin: 0;
  padding-left: 1.25rem;
}

.industry-card li + li {
  margin-top: 0.45rem;
}

.industry-card li::marker {
  color: #FF7A01;
}

.quote-section {
  background: var(--bg);
}

.quote-title {
  margin-bottom: 2rem;
  text-align: center;
  text-transform: uppercase;
}

.quote-container {
  max-width: 1100px;
}

.quote-form {
  max-width: 100%;
}

/* Zoho captcha block inside your quote form */
.captcha-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-top: 1rem;
}

.captcha-row label {
  grid-column: 1 / -1;
  font-weight: 700;
}

.captcha-row input[type="text"] {
  width: 100%;
  border: 1px solid #a8a8a8;
  padding: 0.85rem 0.9rem;
  min-height: 3rem;
  background: #fff;
  color: var(--text);
}

.captcha-image-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.captcha-image-wrap img {
  display: block;
  max-width: 180px;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: #fff;
}

.captcha-image-wrap a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  background: #fff;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.captcha-image-wrap a:hover,
.captcha-image-wrap a:focus-visible {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.card-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* Make sure image is BELOW the overlay */
.card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* Put gradient ABOVE image */
.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2; /* 👈 key fix */
  pointer-events: none;

  background: radial-gradient(
    circle at bottom right,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.25) 25%,
    rgba(0, 0, 0, 0.1) 45%,
    rgba(0, 0, 0, 0) 65%
  );
}




@media (max-width: 760px) {
  .captcha-row {
    grid-template-columns: 1fr;
  }

  .captcha-image-wrap {
    align-items: flex-start;
  }

  .captcha-image-wrap img {
    max-width: 100%;
  }

  .captcha-image-wrap a {
    width: 100%;
  }
}

.form-success {
  background: #e6f7ec;
  color: #1f7a3a;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #b6e2c6;
}

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

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

.form-field label {
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #a8a8a8;
  border-radius: 0;
  padding: 0.85rem 0.9rem;
  background: #fff;
  color: var(--text);
}

.form-field input {
  min-height: 3rem;
}

select {
  width: 100%;
  border: 1px solid #a8a8a8;
  padding: 0.85rem 0.9rem;
  background: #fff;
  color: var(--text);
  min-height: 3rem;
}

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

.form-alert {
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid;
  font-weight: 600;
}

.form-alert-success {
  background: #eef7f0;
  border-color: #b7d6be;
  color: #1f4d2c;
}

.form-alert-error {
  background: #fbefef;
  border-color: #dfb8b8;
  color: #7a1f1f;
}

.form-field textarea {
  resize: vertical;
  min-height: 9rem;
}

.form-field--full {
  margin-top: 1rem;
}

.button-submit {
  margin-top: 1rem;
  width: auto;
}

.button-submit:hover,
.button-submit:focus-visible {
  background: #bdbdbd;
}

.section-contact {
  background: #ececec;
}

.contact-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}

.contact-panel p:last-child {
  color: var(--text-muted);
  margin-bottom: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer {
  background: var(--dark);
  color: #fff;
  margin-top: 4rem;
}

.footer-container {
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
  font-weight: 800;
}

.footer-heading {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-description {
  color: rgba(255, 255, 255, 0.75);
  max-width: 320px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 1rem;
}

.footer-label {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.cta-mobile {
  display: none;
}

@media (max-width: 960px) {
  .header-inner {
    flex-wrap: nowrap;
    padding-block: 0.4rem;
    min-height: 4rem;
    gap: 0.5rem;
  }

  #logo {
    width: 150px;
  }

  .primary-nav {
    margin-left: auto;
    margin-right: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .header-cta {
    margin-left: 0;
    width: auto;
    white-space: nowrap;
  }

  .cta-mobile {
    display: inline-flex;
    min-height: 2.4rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    border-radius: 999px;
  }

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

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

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

  .contact-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
	
.footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
 
  .cta-desktop {
    display: none;
  }

  .site-header {
    padding-block: 0;
  }

  .header-inner {
    min-height: 3.9rem;
    padding-block: 0.25rem;
    gap: 0.5rem;
  }

  #logo {
    width: 145px;
  }

  .primary-nav {
    margin-left: auto;
    margin-right: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .header-cta {
    margin-left: 0;
    width: auto;
    white-space: nowrap;
  }

  .cta-mobile {
    display: inline-flex;
    min-height: 2.3rem;
    padding: 0.42rem 0.75rem;
    font-size: 0.8rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-left: 0.1rem;
    border: 1.5px solid #8f8f8f;
    background: #fff;
    border-radius: 0.9rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    flex: 0 0 auto;
  }

  .nav-toggle span[aria-hidden="true"] {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
  }

  .nav-list {
    position: absolute;
    right: 1rem;
    top: 4.6rem;
    width: min(22rem, calc(100vw - 2rem));
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 1rem;
    display: none;
    z-index: 200;
  }

  .nav-list.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-block: 5rem 4rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .logo-list,
  .card-grid,
  .industry-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
	
		.logo-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
	

  .two-column-list {
    columns: 1;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }
}

.modernization-section {
  background: #ececec;
}

.modernization-top {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: start;
}

.modernization-copy {
  max-width: 42rem;
}

.modernization-intro {
  margin: 0;
  color: var(--text-muted);
  max-width: 42rem;
}

.modernization-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
}

.compare-panel {
  background: var(--surface);
  border: 1px solid #bdbdbd;
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  min-height: 100%;
}

.compare-panel h3 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  line-height: 1;
}

.compare-panel ul {
  margin: 0;
  padding-left: 1.25rem;
}

.compare-panel li + li {
  margin-top: 0.6rem;
}

.compare-panel-legacy {
  border-top: 4px solid #cfcfcf;
}

.compare-panel-modern {
  border-top: 4px solid var(--accent);
}

.compare-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  padding-inline: 0.25rem;
}

.modernization-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.modernization-card {
  background: var(--surface);
  border: 1px solid #bdbdbd;
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.modernization-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  line-height: 1.05;
}

.modernization-card p {
  margin: 0;
  color: var(--text-muted);
}

.modernization-card:hover,
.compare-panel:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

@media (max-width: 1100px) {
  .modernization-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .modernization-top {
    grid-template-columns: 1fr;
  }

  .modernization-compare {
    grid-template-columns: 1fr;
  }

  .compare-arrow {
    transform: rotate(90deg);
    padding: 0;
  }

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

@media (max-width: 760px) {
	
	.quote-container {
    max-width: 100%;
  }

  .quote-title {
    margin-bottom: 1.25rem;
  }

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

  .form-field {
    gap: 0.3rem;
  }

  .form-field label {
    font-size: 0.9rem;
  }

  .form-field input,
  .form-field textarea,
  .form-field select,
  select {
    padding: 0.65rem 0.75rem;
    min-height: 2.6rem;
    font-size: 0.95rem;
  }

  .form-field textarea {
    min-height: 7rem;
  }

  /* Full-width fields */
  .form-field:nth-child(3),
  .form-field:nth-child(4),
  .form-field:nth-child(5) {
    grid-column: 1 / -1;
  }

  .form-field--full {
    margin-top: 0.75rem;
  }

  .button-submit {
    width: 100%;
    min-height: 2.9rem;
    margin-top: 0.75rem;
  }
	
	
  .modernization-grid {
    grid-template-columns: 1fr;
  }

  .compare-panel h3 {
    font-size: 1.35rem;
  }
}