/* fmctechny.com — site styles.
   Shared by index.html and the service pages. Extracted verbatim from
   the homepage's inline <style> block; privacy/terms/404 keep their own
   small self-contained styles and do not load this file. */

:root {
  --navy: #0b1f33;
  --navy-light: #102d49;
  --navy-deep: #071725;
  --blue: #1677ff;
  --blue-dark: #095dcc;
  --cyan: #18c8e8;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --light: #eef3f8;
  --text: #253447;
  --muted: #5c6b7e;
  --border: #dce5ee;
  --success: #16a36a;

  --radius: 16px;
  --shadow: 0 15px 45px rgba(11, 31, 51, 0.10);
  --container: 1180px;

  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular,
    Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.icon-sprite {
  display: none;
}

.icon {
  width: 1em;
  height: 1em;
  display: block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  background: var(--blue);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

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

/* =========================
   REVEAL ANIMATION
========================= */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

/* =========================
   HEADER
========================= */

header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(11, 31, 51, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

header.scrolled {
  background: rgba(7, 23, 37, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.5px;
  font-size: 1.15rem;
}

.logo-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text span {
  display: block;
  font-size: 0.68rem;
  color: #9eb3c8;
  font-weight: 500;
  letter-spacing: 1.5px;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: #d8e4ef;
  font-size: 0.93rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
}

.nav-cta {
  background: var(--blue);
  color: white !important;
  padding: 11px 19px;
  border-radius: 9px;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--blue-dark);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: white;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle .icon-close,
.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 40%, rgba(24, 200, 232, 0.13), transparent 30%),
    radial-gradient(circle at 90% 70%, rgba(22, 119, 255, 0.18), transparent 35%),
    var(--navy);
  color: white;
  padding: 150px 0 90px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  right: -300px;
  top: -250px;
  border: 1px solid rgba(24, 200, 232, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(24, 200, 232, 0.025),
    0 0 0 140px rgba(24, 200, 232, 0.02);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #7eeaff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 0.78rem;
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--cyan);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.05rem);
  line-height: 1.06;
  letter-spacing: -2px;
  max-width: 760px;
  margin-bottom: 26px;
}

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

.hero-text {
  color: #b9c9d9;
  font-size: 1.1rem;
  max-width: 650px;
  margin-bottom: 34px;
}

.buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 9px;
  padding: 14px 22px;
  font-weight: 750;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 30px rgba(22, 119, 255, 0.25);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-primary[disabled] {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}

.btn-outline {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.tech-card {
  position: absolute;
  width: 340px;
  padding: 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(15px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.tech-card.main {
  right: 0;
  top: 0;
}

.tech-card.small {
  left: 0;
  bottom: 0;
  width: 235px;
  padding: 22px;
  background: rgba(16, 45, 73, 0.82);
}

.device-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-size: 1.65rem;
  margin-bottom: 22px;
}

.tech-card .tech-title {
  font-size: 1.3rem;
  margin-bottom: 7px;
}

.tech-card p {
  color: #9eb3c8;
  font-size: 0.92rem;
}

.status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c7d7e6;
  font-size: 0.85rem;
  margin-top: 20px;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: #27d98b;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(39, 217, 139, 0.12);
}

/* =========================
   TRUST STRIP
========================= */

.trust-strip {
  background: white;
  border-bottom: 1px solid var(--border);
}

.trust-items {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 18px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
}

.trust-item span {
  color: var(--blue);
  font-size: 1.05rem;
}

/* =========================
   GENERAL SECTION
========================= */

section {
  padding: 105px 0;
}

/* Service pages lead with copy rather than the homepage's full-height
   introduction, so their hero is shorter. Everything else is shared. */
.hero--page {
  min-height: 0;
  padding: 145px 0 80px;
}

.hero--page h1 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 55px;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  color: var(--blue);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 1.8px;
  margin-bottom: 11px;
  font-family: var(--font-mono);
}

.section-heading h2 {
  color: var(--navy);
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 17px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.03rem;
}

/* =========================
   SERVICES
========================= */

.services {
  background: var(--off-white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: white;
  border: 1px solid var(--border);
  padding: 35px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: #c7d9ec;
}

.service-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #e9f2ff;
  color: var(--blue);
  font-size: 1.55rem;
  margin-bottom: 25px;
}

.service-card h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card > p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
  display: grid;
  gap: 9px;
  margin-bottom: 26px;
}

.service-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text);
}

.service-list li::before {
  content: "";
  width: 0.8em;
  height: 0.8em;
  margin-top: 0.34em;
  flex-shrink: 0;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9.5 5 16.5 12 9.5 19'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9.5 5 16.5 12 9.5 19'/%3E%3C/svg%3E") center / contain no-repeat;
}

.service-link {
  color: var(--blue);
  font-weight: 750;
  font-size: 0.9rem;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.service-link:hover {
  color: var(--blue-dark);
}

/* =========================
   WHY FMC
========================= */

.why {
  background: var(--navy);
  color: white;
  overflow: hidden;
  position: relative;
}

.why::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -300px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(24, 200, 232, 0.12);
  border-radius: 50%;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.why .section-label {
  color: var(--cyan);
}

.why .section-heading h2 {
  color: white;
}

.why .section-heading p {
  color: #9eb3c8;
}

.why-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px 45px;
}

.feature {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
}

.feature-icon {
  color: var(--cyan);
  font-size: 1.4rem;
}

.feature h3 {
  margin: 7px 0;
  font-size: 1.08rem;
}

.feature p {
  color: #9eb3c8;
  font-size: 0.9rem;
}

/* =========================
   PROCESS
========================= */

.process {
  background: white;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: 25px;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 9%;
  right: 9%;
  height: 2px;
  background: #dce8f3;
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--blue);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-weight: 800;
  font-family: var(--font-mono);
  box-shadow: 0 0 0 8px white;
}

.process-step h3 {
  color: var(--navy);
  margin-bottom: 7px;
}

.process-step p {
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 220px;
  margin: auto;
}

/* =========================
   PRICING
========================= */

.pricing {
  background: var(--off-white);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.price-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
}

.price-card.feature {
  border-color: var(--blue);
  box-shadow: 0 14px 40px rgba(22, 119, 255, 0.12);
}

.price-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--navy);
  font-weight: 900;
  font-size: 2.7rem;
  letter-spacing: -1.6px;
  line-height: 1;
}

.price-amount span {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--muted);
}

.price-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 14px;
}

.price-note {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  color: var(--text);
  font-size: 0.92rem;
}

.price-note .icon {
  color: var(--blue);
  font-size: 1.2rem;
  margin-top: 1px;
}

/* =========================
   SERVICE AREA
========================= */

.area {
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.area-content h2 {
  color: var(--navy);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: -1.5px;
  line-height: 1.12;
  margin-bottom: 16px;
}

.area-content > p {
  color: var(--muted);
  margin-bottom: 26px;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-tag {
  background: white;
  border: 1px solid var(--border);
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.86rem;
  font-weight: 650;
}

.area-panel {
  background: var(--navy);
  border-radius: 20px;
  padding: 40px;
  color: white;
  box-shadow: var(--shadow);
}

.area-panel h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.area-panel > p {
  color: #9eb3c8;
  font-size: 0.94rem;
  margin-bottom: 26px;
}

.area-modes {
  display: grid;
  gap: 18px;
}

.mode {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
}

.mode-icon {
  width: 40px;
  height: 40px;
  font-size: 1.25rem;
  border-radius: 11px;
  background: rgba(24, 200, 232, 0.14);
  color: var(--cyan);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mode strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.mode p {
  color: #9eb3c8;
  font-size: 0.87rem;
}

/* =========================
   ABOUT
========================= */

.about {
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  min-height: 440px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(22, 119, 255, 0.85), rgba(11, 31, 51, 0.92)),
    radial-gradient(circle at 25% 25%, #18c8e8, transparent 30%);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image::before {
  content: "FMC";
  position: absolute;
  right: -20px;
  bottom: -45px;
  color: rgba(255, 255, 255, 0.08);
  font-size: 12rem;
  font-weight: 900;
  letter-spacing: -12px;
}

.about-badge {
  position: absolute;
  left: 30px;
  bottom: 30px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  padding: 18px 22px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  font-weight: 800;
}

.about-badge span {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
}

.about-content h2 {
  color: var(--navy);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.about-content > p {
  color: var(--muted);
  margin-bottom: 20px;
}

.check-list {
  list-style: none;
  margin: 28px 0 32px;
  display: grid;
  gap: 13px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 650;
}

.check {
  width: 23px;
  height: 23px;
  font-size: 0.82rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #def8ec;
  color: var(--success);
  flex-shrink: 0;
}

.check .icon {
  stroke-width: 3.2;
}

.trust-item .icon {
  stroke-width: 2.6;
}

/* =========================
   FAQ
========================= */

.faq {
  background: var(--off-white);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: none;
  border: 0;
  padding: 22px 24px;
  cursor: pointer;
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
}

.faq-question:hover {
  color: var(--blue);
}

.faq-icon {
  color: var(--blue);
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-answer.open {
  display: block;
}

/* =========================
   CTA
========================= */

.cta {
  padding: 85px 0;
  background: linear-gradient(120deg, var(--blue), #0b61d8 55%, #0854b9);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  right: -170px;
  top: -230px;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -2px;
  margin-bottom: 13px;
}

.cta p {
  color: #d8eaff;
  margin-bottom: 27px;
}

.cta .btn-primary {
  background: white;
  color: var(--blue);
  box-shadow: none;
}

.cta .btn-primary:hover {
  background: #f0f7ff;
}

/* =========================
   CONTACT
========================= */

.contact {
  background: white;
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 55px;
  align-items: start;
}

.contact-info h2 {
  color: var(--navy);
  font-size: 2.6rem;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 15px;
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 35px;
}

.contact-detail {
  display: flex;
  gap: 15px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 45px;
  height: 45px;
  font-size: 1.35rem;
  border-radius: 11px;
  background: #e6f0ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  color: var(--navy);
  margin-bottom: 2px;
}

.contact-detail span,
.contact-detail a {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-detail a:hover {
  color: var(--blue);
}

.contact-form {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: 0 10px 35px rgba(11, 31, 51, 0.05);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}

.field .optional {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  padding: 13px 14px;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

/* Honeypot: hidden from people, visible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 14px;
}

.form-message {
  display: none;
  margin-top: 15px;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.form-message.show {
  display: block;
}

.form-message.success {
  background: #e8f9f1;
  color: #13764d;
}

.form-message.error {
  background: #fdecec;
  color: #9c2626;
}

/* =========================
   FOOTER
========================= */

footer {
  background: var(--navy-deep);
  color: white;
  padding: 65px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 45px;
  padding-bottom: 45px;
}

.footer-brand p {
  color: #8297aa;
  max-width: 320px;
  margin-top: 16px;
  font-size: 0.9rem;
}

footer h3 {
  font-size: 0.9rem;
  margin-bottom: 17px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-links a,
.footer-links li {
  color: #8297aa;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 23px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #647b8f;
  font-size: 0.8rem;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 950px) {
  .hero-grid,
  .why-grid,
  .about-grid,
  .area-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 145px;
  }

  .hero-visual {
    min-height: 500px;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
  }

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

  .why-grid,
  .about-grid,
  .area-grid {
    gap: 45px;
  }

  .about-image {
    min-height: 350px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }

  .process-grid::before {
    display: none;
  }

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

@media (max-width: 1080px) {
  .nav-links {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 6px);
    padding: 18px;
    background: var(--navy-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 11px;
  }

  .nav-cta {
    text-align: center;
    margin-top: 5px;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 720px) {
  .price-grid {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  section {
    padding: 75px 0;
  }

  .nav {
    min-height: 70px;
  }

  .hero h1 {
    font-size: 2.4rem;
    letter-spacing: -1.4px;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 0;
    display: grid;
    gap: 16px;
  }

  .tech-card,
  .tech-card.main,
  .tech-card.small {
    position: static;
    width: 100%;
    max-width: 100%;
  }

  .trust-items {
    gap: 18px 28px;
    justify-content: flex-start;
  }

  .why-features {
    grid-template-columns: 1fr;
  }

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

  .area-panel {
    padding: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 23px;
  }

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

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

@media (max-width: 430px) {
  /* Reclaim room so the wordmark stays on one line beside the toggle. */
  .nav {
    gap: 14px;
  }

  .logo {
    font-size: 1rem;
    gap: 10px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .hero h1 {
    font-size: 2.05rem;
  }

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

  .btn {
    width: 100%;
  }

  .tech-card.main {
    padding: 22px;
  }

  .tech-card.small {
    padding: 20px;
  }
}
