:root {
  --bg-1: #f5f7fb;
  --bg-2: #e9f5ee;
  --ink: #0f172a;
  --brand-900: #082b5f;
  --brand-700: #1257b0;
  --brand-500: #1f87ff;
  --brand-100: #dcedff;
  --accent-500: #0fb992;
  --accent-100: #dffbf4;
  --card: #ffffff;
  --line: #d7deea;
  --muted: #586476;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 12% 10%, #e3edff 0%, var(--bg-1) 35%, var(--bg-2) 100%);
  overflow-x: hidden;
}

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

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

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

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

.topbar {
  background: var(--brand-900);
  color: #e8eefb;
  font-size: 0.86rem;
}

.topbar .site-container {
  padding: 0.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--brand-900);
}

.brand img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.brand span {
  color: var(--brand-500);
}

.nav,
.mobile-nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}

.nav a,
.mobile-nav a {
  font-size: 0.93rem;
  font-weight: 700;
  color: #243042;
}

.nav a:hover,
.mobile-nav a:hover {
  color: var(--brand-700);
}

.menu-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0.7rem;
  height: 2.6rem;
  width: 2.6rem;
  display: none;
  place-items: center;
  color: #1b2c46;
  font-size: 1.25rem;
}

.mobile-wrap {
  display: none;
  border-top: 1px solid var(--line);
  padding: 0.6rem 0 0.9rem;
}

.mobile-wrap.show {
  display: block;
}

.mobile-nav {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.mobile-nav a {
  width: 100%;
  padding: 0.65rem 0.7rem;
  border-radius: 0.7rem;
}

.mobile-nav a:hover {
  background: #f2f5fb;
}

.btn {
  border-radius: 0.8rem;
  border: 1px solid transparent;
  padding: 0.68rem 1.15rem;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.btn.primary {
  background: var(--brand-500);
  color: #fff;
}

.btn.primary:hover {
  background: var(--brand-700);
  transform: translateY(-1px);
}

.btn.ghost {
  border-color: var(--line);
  background: #fff;
}

.btn.ghost:hover {
  border-color: #b7c2d8;
}

.btn.light {
  color: var(--brand-900);
  background: #fff;
}

.hero {
  padding: clamp(3.5rem, 8vw, 6rem) 0 3rem;
  position: relative;
  overflow: clip;
}

.hero.has-media::before,
.hero.has-media::after {
  z-index: 1;
}

.hero-media-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 24, 54, 0.8) 0%, rgba(8, 43, 95, 0.56) 42%, rgba(8, 43, 95, 0.28) 100%);
}

.hero-media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero.has-media .site-container {
  position: relative;
  z-index: 2;
}

.hero.has-media .badge {
  background: rgba(255, 255, 255, 0.9);
}

.hero.has-media .h1{
  color: #f4f8ff;
}
.hero.has-media .lead{
  color: #082b5f;
} 

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 100%;
  filter: blur(34px);
  z-index: -1;
}

.hero::before {
  width: 20rem;
  height: 20rem;
  background: rgba(31, 135, 255, 0.19);
  top: -6rem;
  left: -4rem;
}

.hero::after {
  width: 20rem;
  height: 20rem;
  background: rgba(15, 185, 146, 0.16);
  bottom: -7rem;
  right: -5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-700);
  background: #fff;
  border-radius: 999px;
  border: 1px solid #d6e4ff;
  padding: 0.4rem 0.8rem;
}

.badge i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 100%;
  background: var(--accent-500);
}

.h1,
.h2,
.h3 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--brand-900);
  line-height: 1.15;
}

.h1 {
  margin-top: 0.95rem;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
}

.h2 {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
}

.h3 {
  font-size: 1.35rem;
}

.lead {
  color: var(--muted);
  line-height: 1.74;
  margin-top: 1rem;
}

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

.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #fff;
  box-shadow: 0 18px 40px -28px rgba(8, 43, 95, 0.45);
  border-radius: 1rem;
  padding: 1rem;
}

.card p {
  margin: 0;
}

.metric {
  margin-top: 0.35rem;
  font-family: "Outfit", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--brand-900);
}

.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section.white {
  background: #fff;
  border-block: 1px solid #e8edf7;
}

.label {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-700);
  font-size: 0.78rem;
  font-weight: 800;
}

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

.service-card {
  display: block;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card-media {
  aspect-ratio: 16 / 10;
  border-radius: 0.8rem;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.05);
}

.service-icon {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.65rem;
  display: inline-grid;
  place-items: center;
  margin-bottom: 0.6rem;
  color: var(--brand-700);
  background: #e8f1ff;
  font-size: 1.18rem;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #c7dbff;
  box-shadow: 0 14px 32px -22px rgba(8, 43, 95, 0.5);
}

.service-card .h3 {
  font-size: 1.2rem;
}

.service-card p {
  margin: 0.65rem 0 0;
  color: #586476;
  font-size: 0.95rem;
  line-height: 1.62;
}

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

.process-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  padding-top: 1.1rem;
}

.flow-line {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 0.45rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(31, 135, 255, 0.2) 0%, rgba(31, 135, 255, 0.85) 50%, rgba(31, 135, 255, 0.2) 100%);
  overflow: hidden;
  border-radius: 999px;
}

.flow-line::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -20%;
  width: 20%;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(34, 211, 170, 0.95) 0%, rgba(34, 211, 170, 0.2) 70%, rgba(34, 211, 170, 0) 100%);
  animation: flow-scan 3.2s linear infinite;
}

.flow-step {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe5f3;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 18px 36px -30px rgba(8, 43, 95, 0.55);
  animation: step-float 3.8s ease-in-out infinite;
  animation-delay: var(--step-delay, 0s);
}

.flow-step strong {
  font-size: 1.25rem;
  color: var(--brand-500);
  font-family: "Outfit", sans-serif;
}

.flow-step h3 {
  margin: 0.4rem 0 0.35rem;
  font-size: 1rem;
  color: #12233f;
}

.flow-step p {
  margin: 0;
  font-size: 0.92rem;
  color: #5d6a7e;
  line-height: 1.55;
}

.flow-node {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 0.55rem;
  color: #fff;
  background: linear-gradient(145deg, #1f87ff 0%, #0f62cc 100%);
  box-shadow: 0 0 0 0 rgba(31, 135, 255, 0.45);
  animation: node-pulse 2.4s ease-in-out infinite;
  animation-delay: var(--step-delay, 0s);
}

@keyframes flow-scan {
  from {
    left: -20%;
  }
  to {
    left: 100%;
  }
}

@keyframes step-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes node-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(31, 135, 255, 0.45);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(31, 135, 255, 0);
  }
}

.step {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem;
}

.step strong {
  font-size: 1.45rem;
  color: var(--brand-500);
  font-family: "Outfit", sans-serif;
}

.step h3 {
  margin: 0.5rem 0 0.4rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.92rem;
  color: #5d6a7e;
  line-height: 1.55;
}

.why {
  background: linear-gradient(130deg, #082b5f 0%, #0b4e95 100%);
  color: #eef4ff;
}

.why .h2,
.why .label {
  color: #eef4ff;
}

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

.pill {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.88rem;
  padding: 0.85rem;
}

.cta {
  background: linear-gradient(130deg, #0c2b63 0%, #1666c5 100%);
  color: #f0f7ff;
  border-radius: 1.4rem;
  padding: clamp(1.35rem, 4vw, 2.25rem);
  box-shadow: 0 22px 56px -30px rgba(8, 43, 95, 0.68);
}

.cta .h2 {
  color: #fff;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.contact-list li {
  padding: 0.6rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.footer {
  margin-top: 2.5rem;
  background: #040c1c;
  color: #98a8c2;
  font-size: 0.9rem;
}

.footer-main {
  padding: 2.15rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.2rem;
}

.footer-col h4 {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  color: #dce8fb;
  font-family: "Outfit", sans-serif;
}

.footer-brand {
  font-family: "Outfit", sans-serif;
  color: #f1f6ff;
  font-size: 1.08rem;
  margin: 0 0 0.55rem;
}

.footer-col p {
  margin: 0;
  color: #9bb0ce;
  line-height: 1.6;
}

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

.footer-links a {
  color: #b8c8e0;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-social {
  margin-top: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.footer-social a {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #c9d8ee;
  background: rgba(173, 198, 236, 0.12);
  border: 1px solid rgba(188, 211, 244, 0.26);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  color: #ffffff;
  background: rgba(61, 140, 255, 0.4);
  transform: translateY(-2px);
}

.footer-social i {
  font-size: 1rem;
  line-height: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(204, 218, 240, 0.16);
}

.footer-bottom .site-container {
  padding: 0.95rem 0;
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.show {
  opacity: 1;
  transform: none;
}

.page-hero {
  padding: 3.2rem 0 2.3rem;
  position: relative;
  overflow: clip;
}

.page-hero.has-media {
  min-height: 21rem;
  display: flex;
  align-items: center;
}

.page-hero.has-media .hero-media-layer::after {
  background: linear-gradient(105deg, rgba(5, 22, 53, 0.84) 0%, rgba(7, 45, 96, 0.66) 42%, rgba(11, 71, 147, 0.38) 100%);
}

.page-hero.has-media .site-container {
  position: relative;
  z-index: 2;
}

.page-hero .wrap {
  max-width: 52rem;
}

.page-hero.has-media .wrap {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 1rem;
  backdrop-filter: blur(3px);
  padding: 1.15rem;
}

.page-hero.has-media .breadcrumb,
.page-hero.has-media .label {
  color: #cfe1fd;
}

.page-hero.has-media .h1 {
  color: #f7fbff;
}

.page-hero.has-media .lead {
  color: #e2ecff;
}

.breadcrumb {
  font-size: 0.82rem;
  color: #526178;
  margin-bottom: 0.7rem;
}

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

.feature-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  padding: 0.95rem;
}

.feature-item h4 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--brand-900);
  font-size: 1.03rem;
}

.feature-item p {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  color: #5b687a;
  line-height: 1.58;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: start;
}

.panel {
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 1rem;
  padding: 1rem;
}

.panel ul {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.panel li {
  position: relative;
  padding-left: 1.1rem;
  color: #556377;
  line-height: 1.56;
  font-size: 0.93rem;
}

.panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 100%;
  background: var(--accent-500);
}

.slider {
  background: #fff;
  border: 1px solid #dce4f1;
  border-radius: 1rem;
  overflow: hidden;
}

.slider-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #e7edf8;
}

.slider-controls {
  display: inline-flex;
  gap: 0.45rem;
}

.slider-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 100%;
  border: 1px solid #d2dcf0;
  background: #fff;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
}

.slide-track {
  display: flex;
  transition: transform 0.35s ease;
}

.slide {
  min-width: 100%;
  padding: 1rem;
}

.quote {
  background: #f6f9ff;
  border: 1px solid #e1e9f7;
  border-radius: 0.8rem;
  padding: 0.85rem;
  color: #425168;
  line-height: 1.6;
  font-size: 0.92rem;
}

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

.visual-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 17rem;
  border: 1px solid #dce4f2;
  box-shadow: 0 20px 40px -30px rgba(4, 22, 49, 0.62);
  background: #dfe8f9;
}

.visual-card img,
.visual-card video {
  width: 100%;
  height: 100%;
  height: 280px;
  object-fit: cover;
}

.visual-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(5, 18, 42, 0) 0%, rgba(5, 18, 42, 0.84) 100%);
  color: #f4f8ff;
}

.visual-overlay h3 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
}

.visual-overlay p {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #d8e7ff;
}

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

.feature-callout {
  background: #fff;
  border: 1px solid #dbe4f1;
  border-radius: 0.85rem;
  padding: 0.7rem 0.75rem;
  font-size: 0.86rem;
  color: #47556a;
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.feature-callout i {
  color: #0d66cf;
  font-size: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.contact-form-grid {
  margin-top: 0.8rem;
}

.contact-message-wrap {
  margin-top: 0.75rem;
}

.contact-form-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.contact-slider {
  margin-top: 1rem;
}

.contact-form-note {
  font-size: 0.83rem;
  color: #4b5b72;
  margin-top: 0.7rem;
  line-height: 1.5;
}

.contact-content-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 1rem;
}

.contact-page .panel,
.contact-page .slider,
.contact-page .quote,
.contact-page .contact-form-note {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-page .contact-info-panel ul {
  margin-top: 0.55rem;
}

.contact-page .contact-info-panel li {
  padding-left: 1rem;
}

label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #334055;
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  font: inherit;
  color: #111827;
  padding: 0.66rem 0.74rem;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
  outline: 3px solid #a7cbff;
  outline-offset: 2px;
}

textarea {
  resize: vertical;
  min-height: 7.5rem;
}

.form-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: min(24rem, calc(100% - 2rem));
  padding: 0.8rem 1rem;
  border-radius: 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 20px 40px -24px rgba(2, 8, 20, 0.72);
  transform: translateY(1rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.form-toast.success {
  background: #0f5132;
  color: #e9fff5;
  border: 1px solid #25c189;
}

.form-toast.error {
  background: #6a1a1a;
  color: #ffecec;
  border: 1px solid #f06e6e;
}

.form-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 13, 30, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 60;
}

.modal-backdrop.show {
  display: flex;
}

.modal {
  width: min(32rem, 100%);
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #dce5f3;
  box-shadow: 0 24px 60px -34px rgba(2, 8, 20, 0.9);
  padding: 1rem;
  animation: pop-in 0.22s ease;
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .grid-2,
  .content-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

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

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

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

  .hero {
    padding-top: 4.25rem;
  }

  .page-hero.has-media {
    min-height: 18.5rem;
  }

  .btn {
    padding: 0.68rem 1rem;
  }

  .nav {
    display: none;
  }

  .menu-btn {
    display: inline-grid;
  }

  .contact-content-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .contact-page .contact-info-panel {
    order: 2;
  }
}

@media (max-width: 700px) {
  .grid-3,
  .feature-grid,
  .visual-grid,
  .stats,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .process,
  .pills,
  .feature-callouts {
    grid-template-columns: 1fr;
  }

  .process-flow {
    grid-template-columns: 1fr;
    padding-top: 0.2rem;
  }

  .flow-line {
    display: none;
  }

  .topbar .site-container,
  .footer-bottom .site-container {
    justify-content: center;
    text-align: center;
  }

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

  .topbar {
    font-size: 0.8rem;
  }

  .header-row {
    gap: 0.6rem;
  }

  .brand {
    font-size: 1rem;
    max-width: calc(100% - 3.1rem);
  }

  .brand img {
    width: 2.55rem;
    height: 2.55rem;
  }

  .hero {
    min-height: auto;
    padding: 3.4rem 0 2.3rem;
  }

  .page-hero {
    padding: 2.35rem 0 1.55rem;
  }

  .page-hero.has-media {
    min-height: 16rem;
  }

  .page-hero.has-media .wrap {
    padding: 0.85rem;
  }

  .h1 {
    line-height: 1.18;
  }

  .h2 {
    line-height: 1.2;
  }

  .lead {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .visual-card {
    min-height: 14rem;
  }

  .panel,
  .step,
  .flow-step {
    padding: 0.9rem;
  }

  .cta {
    border-radius: 1rem;
  }

  .cta .btn,
  .panel .btn {
    width: 100%;
  }

  .footer-main {
    padding: 1.6rem 0 1rem;
  }

  .contact-page .content-grid {
    gap: 0.9rem;
  }

  .contact-page .panel h2.h2 {
    font-size: 1.35rem;
  }

  .contact-page .label {
    margin-bottom: 0.35rem;
  }

  .contact-page .panel ul {
    gap: 0.5rem;
  }

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

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

  .contact-page .slider-head {
    padding: 0.75rem 0.8rem;
  }

  .contact-page .slide {
    padding: 0.8rem;
  }

  .contact-page .quote {
    font-size: 0.88rem;
    line-height: 1.55;
  }
}

@media (max-width: 480px) {
  .site-container {
    width: min(1120px, calc(100% - 1.2rem));
  }

  .btn {
    width: 100%;
  }

  .slider-controls {
    gap: 0.3rem;
  }

  .slider-btn {
    width: 1.85rem;
    height: 1.85rem;
  }

  .form-toast {
    right: 0.6rem;
    left: 0.6rem;
    bottom: 0.6rem;
    max-width: none;
  }

  .contact-page input,
  .contact-page select,
  .contact-page textarea {
    font-size: 16px;
  }

  .contact-page .page-hero .h1 {
    font-size: clamp(1.55rem, 8vw, 2rem) !important;
  }

  .contact-page .page-hero .lead {
    font-size: 0.92rem;
  }

  .contact-page .slider-head {
    padding: 0.75rem 0.8rem;
  }

  .contact-page .quote {
    padding: 0.72rem;
    font-size: 0.88rem;
  }

  .contact-page .contact-form-note {
    font-size: 0.78rem;
  }

  .contact-page .panel {
    border-radius: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
