:root {
  --navy-950: #142d46;
  --navy-900: #235e8a;
  --navy-800: #1b4d73;
  --cyan-600: #e88a2e;
  --cyan-500: #e88a2e;
  --cyan-100: #fcebd9;
  --ink: #142d46;
  --muted: #526170;
  --line: #dce3e8;
  --surface: #f3f6f8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(20, 45, 70, 0.12);
  --radius-lg: 2rem;
  --radius-md: 1.25rem;
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DejaVu Sans", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy-950);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 560px;
  margin-bottom: 1.15rem;
  font-size: clamp(2.5rem, 3.4vw, 4rem);
}

h1 span {
  color: var(--cyan-600);
}

h2 {
  margin-bottom: 1.15rem;
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
}

h3 {
  font-size: 1.35rem;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.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: fixed;
  z-index: 200;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 0.75rem;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 229, 238, 0.7);
  backdrop-filter: blur(18px);
}

.site-header .shell {
  width: min(1560px, calc(100% - 64px));
}

.nav-wrap {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy-950);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}

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

.brand-mark {
  width: 31px;
  height: 31px;
  color: var(--navy-900);
  fill: currentColor;
}

.brand-mark path:last-child {
  color: var(--cyan-500);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.8rem);
}

.primary-nav > a:not(.button) {
  position: relative;
  color: #2d3a4d;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -0.4rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--cyan-600);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav > a:hover::after,
.primary-nav > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  border-radius: 50%;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-950);
  transition: transform 180ms ease, opacity 180ms ease;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  color: var(--white);
  background: var(--navy-900);
  border: 1px solid var(--navy-900);
  border-radius: 0.8rem;
  box-shadow: 0 10px 24px rgba(35, 94, 138, 0.2);
  cursor: pointer;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  box-shadow: 0 14px 30px rgba(35, 94, 138, 0.28);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 44px;
  padding: 0.6rem 1.1rem;
}

.button-full {
  width: 100%;
}

:focus-visible {
  outline: 3px solid rgba(232, 138, 46, 0.5);
  outline-offset: 3px;
}

.hero {
  overflow: hidden;
  padding: 0;
}

.hero > .shell {
  width: 100%;
  max-width: none;
  padding-left: clamp(28px, 5vw, 96px);
}

.hero-grid {
  display: grid;
  min-height: 430px;
  align-items: center;
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding: 2.25rem clamp(1.2rem, 3vw, 3rem) 2.25rem 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  color: var(--cyan-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.text-link,
.text-button {
  color: var(--navy-900);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(232, 138, 46, 0.45);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35rem;
}

.hero .text-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--navy-900);
  border-radius: 0.8rem;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hero .text-link:hover {
  color: var(--white);
  background: var(--navy-900);
  transform: translateY(-2px);
}

.service-line {
  display: flex;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.service-line span {
  display: inline-flex;
  align-items: center;
}

.service-line span:not(:last-child)::after {
  width: 4px;
  height: 4px;
  margin: 0 0.8rem;
  content: "";
  background: var(--cyan-500);
  border-radius: 50%;
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 430px;
  margin-left: -72px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.hero-visual::before {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: clamp(120px, 17vw, 260px);
  content: "";
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.96) 20%,
    rgba(255, 255, 255, 0.72) 52%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.hero-visual::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(3, 27, 55, 0.1), transparent 45%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-badge {
  position: absolute;
  z-index: 3;
  right: 1.5rem;
  bottom: 1.5rem;
  display: none;
  max-width: 300px;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(3, 27, 55, 0.16);
  font-size: 0.88rem;
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.hero-badge svg {
  width: 26px;
  min-width: 26px;
  fill: none;
  stroke: var(--cyan-600);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.section {
  padding: 5.25rem 0;
  scroll-margin-top: 78px;
}

.solutions {
  background: var(--surface);
}

.solutions.section {
  padding: 2.8rem 0 3.4rem;
}

.solutions .section-heading {
  display: block;
  margin-bottom: 1.35rem;
  text-align: center;
}

.solutions .section-heading h2 {
  max-width: none;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.solutions .section-heading > p {
  display: none;
}

.solutions .section-heading .eyebrow {
  justify-content: center;
  margin-bottom: 0.6rem;
}

.section-heading {
  display: grid;
  align-items: end;
  margin-bottom: 3rem;
  gap: 3rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.section-heading h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 530px;
  margin: 0;
  color: var(--muted);
}

.carousel {
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
  padding: 0.4rem;
  margin: -0.4rem;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
}

.solution-card {
  display: grid;
  min-width: 0;
  min-height: 215px;
  flex: 0 0 calc((100% - 2rem) / 3);
  overflow: hidden;
  color: var(--navy-950);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 14px 34px rgba(6, 33, 64, 0.08);
  grid-template-columns: minmax(125px, 43%) 1fr;
}

.solution-media {
  position: relative;
  min-height: 215px;
  overflow: hidden;
  background: #d9e5ee;
}

.solution-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(4, 32, 67, 0.08), transparent 60%);
}

.solution-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.solution-media--vehicle img,
.solution-media--gate img {
  object-position: 26% center;
}

.solution-media--pedestrian img {
  object-position: 91% center;
}

.solution-media--surveillance img {
  object-position: 72% center;
}

.solution-media--gate img {
  object-position: 42% center;
}

.solution-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: #e8f5fb;
  border-radius: 50%;
}

.solution-icon svg {
  width: 24px;
  fill: none;
  stroke: var(--navy-800);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.solution-copy {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 1.3rem 1.1rem;
  flex-direction: column;
  justify-content: center;
}

.solution-copy h3 {
  max-width: 12ch;
  margin: 0.85rem 2.2rem 0.45rem 0;
  color: var(--navy-950);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.16;
}

.solution-copy > p {
  margin: 0 1.8rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.solution-link {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--navy-800);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.solution-link svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.solution-link:hover,
.solution-link:focus-visible {
  color: var(--cyan-600);
  border-color: var(--cyan-500);
  transform: translateX(2px);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.15rem;
}

.carousel-dots,
.carousel-buttons {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.dot {
  width: 34px;
  height: 5px;
  padding: 0;
  background: #c7d4e0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.dot.is-active {
  width: 62px;
  background: var(--cyan-600);
}

.round-button {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--navy-950);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.round-button:hover {
  color: var(--white);
  background: var(--navy-900);
  transform: translateY(-2px);
}

.round-button svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.value-section {
  overflow: hidden;
  background: var(--white);
}

.value-layout {
  display: grid;
  align-items: start;
  gap: clamp(2.5rem, 7vw, 6rem);
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
}

.value-heading {
  position: sticky;
  top: 105px;
}

.value-heading h2 {
  max-width: 9ch;
  margin-bottom: 1.2rem;
}

.value-heading > p:not(.eyebrow) {
  max-width: 470px;
  color: var(--muted);
}

.value-heading .button {
  margin-top: 0.7rem;
}

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

.value-card {
  display: grid;
  min-height: 235px;
  align-content: start;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  gap: 1.2rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.value-card:hover {
  border-color: rgba(232, 138, 46, 0.55);
  box-shadow: 0 18px 42px rgba(20, 45, 70, 0.1);
  transform: translateY(-3px);
}

.value-icon {
  display: grid;
  width: 66px;
  height: 66px;
  color: var(--white);
  background: var(--cyan-600);
  border-radius: 50%;
  place-items: center;
}

.value-icon svg {
  width: 35px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.value-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.commitment-strip {
  display: grid;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  background: var(--navy-950);
  border-radius: 1.2rem;
  grid-template-columns: repeat(4, 1fr);
}

.commitment-strip article {
  display: grid;
  min-height: 150px;
  align-content: start;
  padding: 1.5rem;
  color: var(--white);
  gap: 0.8rem;
  grid-template-columns: 34px 1fr;
}

.commitment-strip article:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.commitment-strip span {
  color: var(--cyan-500);
  font-size: 0.78rem;
  font-weight: 800;
}

.commitment-strip strong,
.commitment-strip small {
  display: block;
}

.commitment-strip strong {
  margin-bottom: 0.45rem;
  line-height: 1.25;
}

.commitment-strip small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  line-height: 1.5;
}

.process-intro {
  display: grid;
  align-items: end;
  margin-bottom: 2.1rem;
  gap: clamp(2rem, 7vw, 6rem);
  grid-template-columns: 1.05fr 0.95fr;
}

.process-intro h2 {
  max-width: 18ch;
  margin-bottom: 0;
}

.process-intro > p {
  max-width: 550px;
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  padding: 0;
  margin: 0;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.steps li {
  min-height: 215px;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.steps > li > span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cyan-600);
  font-size: 0.85rem;
  font-weight: 800;
  place-items: center;
}

.steps h3 {
  margin-bottom: 0.55rem;
  font-size: 1.12rem;
}

.steps p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.about {
  padding: 1rem 0 3rem;
}

.about-panel {
  display: grid;
  padding: clamp(1.7rem, 3.2vw, 2.8rem);
  color: var(--white);
  background: var(--navy-950);
  border-radius: var(--radius-lg);
  gap: clamp(1.5rem, 4vw, 3.2rem);
  grid-template-columns: 0.8fr 1.2fr;
}

.about-panel h2 {
  max-width: 14ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 3.2vw, 3.35rem);
}

.about-detail > p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
}

.about-detail > .about-budget {
  padding: 0.8rem 1rem;
  margin-top: 0.85rem;
  color: var(--white);
  background: rgba(232, 138, 46, 0.12);
  border: 1px solid rgba(232, 138, 46, 0.32);
  border-radius: 0.9rem;
  font-size: 0.98rem;
}

.about-points {
  display: grid;
  margin-top: 0.75rem;
  column-gap: 1.2rem;
  grid-template-columns: 1fr 1fr;
}

.about-points > span {
  display: grid;
  padding: 0.72rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  gap: 0.8rem;
  grid-template-columns: 36px 1fr;
}

.about-points b {
  color: var(--cyan-500);
  font-size: 0.78rem;
}

.about-points strong,
.about-points small {
  display: block;
}

.about-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.8rem;
}

.button-accent {
  color: var(--navy-950);
  background: var(--cyan-500);
  border-color: var(--cyan-500);
  box-shadow: 0 10px 24px rgba(232, 138, 46, 0.2);
}

.button-accent:hover,
.button-accent:focus-visible {
  color: var(--navy-950);
  background: #f09a46;
  border-color: #f09a46;
}

.text-link-light {
  color: var(--white);
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

.extras {
  padding: 3rem 0;
  background: var(--surface);
}

.extras-panel {
  display: grid;
  padding: clamp(1.9rem, 4vw, 3.4rem);
  color: var(--white);
  background: linear-gradient(125deg, var(--navy-950), #1c4a6c);
  border-radius: var(--radius-lg);
  gap: 2rem clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
}

.extras-heading h2 {
  max-width: 11ch;
  color: var(--white);
}

.extras-heading > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

.finance-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr 1fr;
}

.finance-card {
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
}

.finance-card span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  color: var(--navy-950);
  background: var(--cyan-500);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  place-items: center;
}

.finance-card h3 {
  margin-bottom: 0.4rem;
  color: var(--white);
  font-size: 1.05rem;
}

.finance-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
}

.finance-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
  grid-column: 2;
}

.about-points strong {
  color: var(--white);
}

.about-points small {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
  line-height: 1.45;
}

.contact {
  padding: 5rem 0;
  color: var(--white);
  background: var(--navy-900);
}

.contact-grid {
  display: grid;
  align-items: start;
  gap: clamp(3rem, 8vw, 7rem);
  grid-template-columns: 0.86fr 1.14fr;
}

.contact-copy {
  align-self: start;
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.7);
}

.eyebrow-light {
  color: #ffc27f;
}

.contact-channels {
  display: grid;
  max-width: 510px;
  margin-top: 2rem;
  gap: 0.7rem;
}

.contact-channels a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.9rem;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact-channels a:hover,
.contact-channels a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(232, 138, 46, 0.65);
  transform: translateX(3px);
}

.contact-channels svg {
  width: 25px;
  min-width: 25px;
  fill: none;
  stroke: #ffc27f;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-channels small,
.contact-channels span {
  display: block;
}

.contact-channels small {
  margin-bottom: 0.1rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
}

.contact-form {
  position: relative;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(3, 27, 55, 0.28);
}

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

.field-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--navy-950);
  font-size: 0.9rem;
  font-weight: 750;
}

.field input,
.field select,
.field textarea,
#request-summary {
  width: 100%;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: 0.8rem;
  outline: none;
}

.field input,
.field select {
  min-height: 52px;
  padding: 0 0.9rem;
}

.field textarea,
#request-summary {
  padding: 0.85rem 0.9rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
#request-summary:focus {
  background: var(--white);
  border-color: var(--cyan-600);
  box-shadow: 0 0 0 3px rgba(13, 141, 172, 0.12);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #b53939;
}

.field-error {
  display: none;
  margin-top: 0.35rem;
  color: #a52a2a;
  font-size: 0.82rem;
}

.field.is-invalid .field-error {
  display: block;
}

.form-helper {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.form-status {
  display: none;
  padding: 0.8rem 0.95rem;
  margin: 0.85rem 0 0;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.form-status.is-pending,
.form-status.is-success,
.form-status.is-error {
  display: block;
}

.form-status.is-pending {
  color: var(--navy-900);
  background: #eaf4f8;
}

.form-status.is-success {
  color: #155f3b;
  background: #e7f7ef;
}

.form-status.is-error {
  color: #8a2525;
  background: #fff0f0;
}

.form-status a {
  text-decoration: underline;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.site-footer {
  padding: 3.2rem 0 1.3rem;
  color: #b5c5d5;
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  align-items: start;
  gap: 2rem;
  grid-template-columns: 0.7fr 1.5fr 0.6fr;
}

.brand-footer {
  color: var(--white);
}

.brand-logo-footer {
  width: 190px;
}

.footer-grid p {
  max-width: 550px;
}

.footer-grid nav {
  display: grid;
  justify-items: start;
  gap: 0.6rem;
}

.footer-grid nav a {
  text-decoration: none;
}

.footer-grid nav a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

.request-dialog {
  width: min(620px, calc(100% - 2rem));
  padding: clamp(1.5rem, 5vw, 3rem);
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.request-dialog::backdrop {
  background: rgba(3, 27, 55, 0.72);
  backdrop-filter: blur(6px);
}

.request-dialog h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.request-dialog > p:not(.eyebrow):not(.copy-status) {
  color: var(--muted);
}

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--navy-950);
  background: var(--surface);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.7rem;
  place-items: center;
}

#request-summary {
  min-height: 220px;
  margin-top: 1rem;
}

.dialog-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.copy-status {
  min-height: 1.5em;
  margin: 0.8rem 0 0;
  color: var(--cyan-600);
  font-weight: 750;
}

.quick-contact {
  position: fixed;
  right: 1.4rem;
  bottom: 5.6rem;
  z-index: 18;
  display: grid;
  gap: 0.65rem;
}

.quick-quote {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  color: var(--navy-950);
  background: var(--cyan-500);
  border: 2px solid var(--white);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(20, 45, 70, 0.22);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.quick-quote:hover,
.quick-quote:focus-visible {
  box-shadow: 0 14px 34px rgba(20, 45, 70, 0.3);
  transform: translateY(-2px);
}

.quick-contact-button {
  display: grid;
  width: 54px;
  height: 54px;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(2, 19, 41, 0.22);
  place-items: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.quick-contact-button:hover,
.quick-contact-button:focus-visible {
  box-shadow: 0 14px 34px rgba(2, 19, 41, 0.3);
  transform: translateY(-2px);
}

.quick-contact-whatsapp {
  background: #1fa855;
}

.quick-contact-call {
  background: var(--navy-800);
}

.quick-contact-button svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .solution-card {
    flex-basis: calc((100% - 1rem) / 2);
  }

  .value-layout {
    gap: 2.5rem;
    grid-template-columns: 0.7fr 1.3fr;
  }

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

  .value-card {
    min-height: 0;
    grid-template-columns: 66px 1fr;
  }

  .commitment-strip {
    grid-template-columns: 1fr 1fr;
  }

  .commitment-strip article:nth-child(2) {
    border-right: 0;
  }

  .commitment-strip article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

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

  .steps li {
    min-height: 190px;
  }

  .quick-contact {
    right: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    z-index: 99;
    top: 64px;
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    background: var(--white);
    border-bottom: 1px solid transparent;
    opacity: 0;
    transition: max-height 240ms ease, opacity 180ms ease, padding 240ms ease;
  }

  .primary-nav.is-open {
    max-height: 420px;
    padding: 1.2rem 20px 1.5rem;
    border-bottom-color: var(--line);
    opacity: 1;
  }

  .primary-nav > a:not(.button) {
    padding: 0.55rem 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero > .shell {
    padding-inline: 0;
  }

  .hero-copy {
    width: var(--shell);
    padding: 3rem 0 2.25rem;
    margin-inline: auto;
  }

  .hero-visual {
    min-height: 420px;
    margin-left: 0;
  }

  .hero-visual::before {
    display: none;
  }

  .section-heading,
  .process-intro,
  .contact-grid,
  .value-layout,
  .extras-panel {
    grid-template-columns: 1fr;
  }

  .value-heading {
    position: static;
  }

  .value-heading h2,
  .extras-heading h2 {
    max-width: 14ch;
  }

  .finance-note {
    grid-column: 1;
  }

  .section-heading {
    gap: 1rem;
  }

  .section-heading h2 {
    max-width: 16ch;
  }

  .process-intro,
  .contact-copy {
    position: static;
  }

  .process-intro {
    gap: 1rem;
  }

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

  .footer-grid > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(100% - 28px, 1180px);
    --radius-lg: 1.4rem;
  }

  .site-header .shell {
    width: var(--shell);
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .nav-wrap {
    min-height: 64px;
  }

  .primary-nav {
    top: 64px;
  }

  .hero {
    padding: 1rem 0 3.5rem;
  }

  .hero-copy {
    padding: 2.5rem 0 2rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 1.1rem;
  }

  .text-link {
    text-align: center;
  }

  .service-line {
    justify-content: center;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-badge {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    max-width: none;
  }

  .section {
    padding: 3.75rem 0;
    scroll-margin-top: 64px;
  }

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

  .steps li {
    min-height: 0;
  }

  .solution-card {
    min-height: 0;
    flex-basis: 100%;
    grid-template-columns: 1fr;
  }

  .solution-media {
    min-height: 165px;
  }

  .solution-copy {
    min-height: 170px;
    padding: 1.2rem;
  }

  .solution-copy h3 {
    font-size: 1.2rem;
  }

  .carousel-controls {
    align-items: flex-end;
  }

  .dot {
    width: 18px;
  }

  .dot.is-active {
    width: 34px;
  }

  .about-panel,
  .about-points,
  .field-row {
    grid-template-columns: 1fr;
  }

  .value-card,
  .finance-grid,
  .commitment-strip {
    grid-template-columns: 1fr;
  }

  .value-card {
    gap: 1rem;
  }

  .commitment-strip article {
    min-height: 0;
  }

  .commitment-strip article:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .extras-panel {
    padding: 2.2rem 1.4rem;
  }

  .about-panel {
    padding: 2.2rem 1.4rem;
  }

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

  .footer-grid {
    display: grid;
  }

  .footer-grid > p {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-bottom {
    display: grid;
    gap: 0.5rem;
  }

  .dialog-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dialog-actions .button,
  .dialog-actions .text-button {
    justify-content: center;
    text-align: center;
  }

  .quick-contact {
    right: 1rem;
    bottom: 1rem;
    display: flex;
  }

  .quick-contact-button {
    width: 50px;
    height: 50px;
  }

  .quick-quote {
    padding-inline: 0.8rem;
    font-size: 0.76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
