:root {
  --bg: #f4f7fb;
  --dark: #07111f;
  --dark-soft: #0d1b31;
  --surface: #ffffff;
  --surface-soft: #eef4fb;
  --text: #102038;
  --muted: #5c6980;
  --line: rgba(16, 32, 56, 0.12);
  --primary: #00c2ff;
  --primary-strong: #0a84ff;
  --accent: #ff8a00;
  --success: #1fb254;
  --shadow: 0 18px 40px rgba(7, 17, 31, 0.12);
  --radius: 8px;
  --container: min(1180px, calc(100% - 32px));
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(76px + var(--safe-top));
  overflow-x: hidden;
}

body {
  min-width: 320px;
  padding-top: calc(76px + var(--safe-top));
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding-top: var(--safe-top);
  background: rgba(7, 17, 31, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.header-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f8fbff;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: var(--radius);
  color: #04101d;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 0;
}

.brand-copy small {
  color: rgba(248, 251, 255, 0.72);
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  color: rgba(248, 251, 255, 0.82);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: #03101e;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 14px 30px rgba(0, 194, 255, 0.24);
}

.button--secondary,
.button--ghost {
  color: #f8fbff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.button--sm {
  min-height: 40px;
  padding-inline: 14px;
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 72px 0 96px;
  color: #f8fbff;
  background:
    linear-gradient(105deg, rgba(7, 17, 31, 0.96) 0%, rgba(7, 17, 31, 0.82) 47%, rgba(7, 17, 31, 0.7) 100%),
    url("img/fundo.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: 42px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
}

.eyebrow--accent {
  color: var(--accent);
}

.hero h1,
.section-heading h2,
.software-copy h2,
.about-copy h2,
.contact-card h2,
.hero-panel strong,
.service-card h3,
.advantage-card h3,
.timeline-item h3 {
  font-family: "Space Grotesk", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero h1 {
  max-width: 760px;
  font-size: 64px;
}

.hero-text {
  max-width: 680px;
  margin-top: 20px;
  color: rgba(248, 251, 255, 0.82);
  font-size: 18px;
}

.hero-actions,
.software-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.hero-proof article {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.hero-proof strong {
  display: block;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 32px;
  line-height: 1;
}

.hero-proof span {
  display: block;
  margin-top: 8px;
  color: rgba(248, 251, 255, 0.74);
  font-size: 14px;
}

.support-board,
.software-showcase,
.advantage-card,
.about-card,
.contact-card,
.timeline-item,
.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.support-board {
  padding: 22px;
  color: #f8fbff;
  background: rgba(7, 17, 31, 0.76);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.support-board__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.support-board__head span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.support-board__head strong {
  max-width: 340px;
  font-size: 28px;
  text-align: right;
}

.support-signal {
  height: 150px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(0, 194, 255, 0.08), rgba(255, 255, 255, 0.03)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 64px);
}

.support-signal span {
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  box-shadow: 0 12px 28px rgba(0, 194, 255, 0.22);
}

.support-signal span:nth-child(1) {
  height: 38%;
}

.support-signal span:nth-child(2) {
  height: 58%;
}

.support-signal span:nth-child(3) {
  height: 76%;
}

.support-signal span:nth-child(4) {
  height: 100%;
}

.support-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.support-metrics article {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.support-metrics span,
.support-ticket span {
  color: rgba(248, 251, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.support-metrics strong {
  font-size: 17px;
}

.support-ticket {
  margin-top: 16px;
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(0, 194, 255, 0.14);
  border-left: 4px solid var(--primary);
}

.support-ticket strong {
  font-size: 18px;
}

.trust-bar {
  position: relative;
  z-index: 2;
  margin-top: -52px;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.trust-items span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--text);
  background: var(--surface-soft);
  font-weight: 800;
  font-size: 14px;
}

.section {
  padding: 88px 0;
}

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

.section--accent {
  background: linear-gradient(180deg, #ffffff, #eef4fb);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading h2,
.software-copy h2,
.about-copy h2,
.contact-card h2 {
  color: var(--text);
  font-size: 42px;
}

.section-heading p,
.software-copy p,
.about-copy p,
.contact-card p,
.advantage-card p,
.timeline-item p,
.service-card p,
.service-card li,
.about-list span,
.benefit-list span,
.site-footer p,
.site-footer a {
  color: var(--muted);
}

.section-heading > p:last-child,
.software-copy > p,
.about-copy p + p {
  margin-top: 16px;
}

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

.service-card {
  position: relative;
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(7, 17, 31, 0.16);
}

.service-card--featured {
  background: linear-gradient(180deg, #ffffff, #eaf7ff);
  border-color: rgba(10, 132, 255, 0.28);
}

.service-card__top {
  display: grid;
  gap: 8px;
}

.service-card__index {
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.service-card h3,
.advantage-card h3,
.timeline-item h3 {
  color: var(--text);
  font-size: 22px;
}

.service-card ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.service-card li::marker {
  color: var(--primary-strong);
}

.service-card__link {
  width: fit-content;
  color: var(--primary-strong);
  font-weight: 800;
  text-decoration: none;
}

.software-section {
  color: #f8fbff;
  background:
    linear-gradient(110deg, rgba(7, 17, 31, 0.97), rgba(13, 27, 49, 0.94)),
    url("img/fundo.jpg") center / cover no-repeat;
}

.software-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 36px;
}

.software-copy h2,
.software-copy p {
  color: #f8fbff;
}

.software-copy p {
  color: rgba(248, 251, 255, 0.78);
}

.benefit-list {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}

.benefit-list div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.benefit-list strong {
  color: #ffffff;
}

.benefit-list span {
  color: rgba(248, 251, 255, 0.74);
}

.software-showcase {
  overflow: hidden;
  color: var(--text);
  background: #ffffff;
}

.showcase-head {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: #f8fbff;
  background: var(--dark);
}

.showcase-head span,
.showcase-slide p {
  color: var(--muted);
}

.showcase-head span {
  display: block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.showcase-head strong {
  display: block;
  font-size: 18px;
}

.showcase-controls {
  display: flex;
  gap: 8px;
}

.showcase-btn,
.showcase-dots button {
  border: 0;
  cursor: pointer;
}

.showcase-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #f8fbff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 28px;
  line-height: 1;
}

.showcase-btn:hover,
.showcase-btn:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.showcase-viewport {
  position: relative;
  min-height: 462px;
  background: #f4f7fb;
}

.showcase-slide {
  display: none;
  gap: 14px;
  padding: 18px;
}

.showcase-slide.is-active {
  display: grid;
}

.showcase-slide p {
  margin: 0;
  font-weight: 700;
}

.system-screen {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.system-bar {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  color: #f8fbff;
  background: var(--dark);
}

.system-bar span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #03101e;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  font-size: 10px;
  font-weight: 900;
}

.system-bar strong {
  margin-right: auto;
}

.system-bar small {
  color: rgba(248, 251, 255, 0.7);
}

.system-layout {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr);
  min-height: 330px;
}

.system-layout nav {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  color: #f8fbff;
  background: var(--dark-soft);
}

.system-layout nav span {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--radius);
  color: rgba(248, 251, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.system-layout nav .is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.system-layout main {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  background: #f4f7fb;
}

.system-cards,
.order-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

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

.system-cards div,
.system-list div,
.boleto-preview {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.system-cards span,
.system-list span,
.boleto-preview span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.system-cards strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.system-list {
  display: grid;
  gap: 10px;
}

.system-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.system-list strong {
  color: var(--primary-strong);
}

.order-flow span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 6px;
  border-radius: var(--radius);
  color: #063b52;
  background: rgba(0, 194, 255, 0.14);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.boleto-preview {
  display: grid;
  gap: 8px;
}

.boleto-preview strong {
  font-size: 24px;
}

.barcode-line {
  height: 58px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    repeating-linear-gradient(90deg, #07111f 0 3px, #ffffff 3px 6px, #07111f 6px 8px, #ffffff 8px 13px);
}

.mobile-pair {
  min-height: 370px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #eaf7ff);
}

.phone-frame {
  width: 194px;
  min-height: 348px;
  margin-inline: auto;
  padding: 12px;
  border-radius: 28px;
  background: #07111f;
  box-shadow: 0 22px 38px rgba(7, 17, 31, 0.18);
}

.phone-speaker {
  width: 58px;
  height: 5px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.phone-screen {
  min-height: 304px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: #f4f7fb;
}

.mobile-app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f8fbff;
  background: var(--dark-soft);
  border-radius: var(--radius);
  padding: 10px;
}

.mobile-card,
.mobile-button {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.mobile-card {
  display: grid;
  gap: 4px;
}

.mobile-card span,
.mobile-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.mobile-card strong {
  color: var(--primary-strong);
}

.mobile-button {
  color: #03101e;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  font-weight: 900;
  text-align: center;
}

.mobile-copy {
  display: grid;
  gap: 10px;
}

.mobile-copy strong {
  font-size: 28px;
}

.mobile-copy span {
  color: var(--muted);
  font-weight: 700;
}

.showcase-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 18px 18px;
  background: #f4f7fb;
}

.showcase-dots button {
  width: 34px;
  height: 8px;
  border-radius: 999px;
  background: rgba(16, 32, 56, 0.18);
}

.showcase-dots button.is-active {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
}

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

.advantage-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
}

.advantage-card span,
.timeline-item > span {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(0, 194, 255, 0.16);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 700;
}

.advantage-card h3 {
  margin-bottom: 8px;
}

.process-grid {
  display: grid;
  gap: 24px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
}

.timeline-item > span {
  margin-bottom: 0;
}

.timeline-item h3 {
  margin-bottom: 6px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: 24px;
}

.about-card {
  padding: 22px;
  background: #ffffff;
}

.about-list {
  display: grid;
  gap: 14px;
}

.about-list div {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.about-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.about-list strong {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 19px;
}

.contact-section {
  padding-top: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 520px);
  align-items: start;
  gap: 24px;
  padding: 28px;
  background: linear-gradient(120deg, var(--dark), var(--dark-soft));
}

.contact-card h2,
.contact-card p {
  color: #f8fbff;
}

.contact-card p {
  margin-top: 12px;
  opacity: 0.78;
}

.contact-email {
  color: #7be7ff;
  font-weight: 900;
  text-decoration: none;
}

.contact-email:hover,
.contact-email:focus-visible {
  text-decoration: underline;
}

.contact-actions {
  margin-top: 24px;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

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

.form-row {
  display: grid;
  gap: 7px;
}

.form-row label {
  color: #f8fbff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: #f8fbff;
  background: rgba(4, 12, 23, 0.72);
  font: inherit;
}

.form-row select {
  color-scheme: dark;
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(248, 251, 255, 0.52);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: rgba(0, 194, 255, 0.75);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.16);
}

.quote-form .button {
  justify-self: start;
  border: 0;
}

.quote-form .button[disabled] {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.quote-form.has-success .form-status {
  color: #73f6a7;
}

.quote-form.has-error .form-status {
  color: #ffb4b4;
}

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

.site-footer {
  padding: 24px 0 calc(72px + var(--safe-bottom));
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

.whatsapp-float {
  position: fixed;
  right: calc(16px + var(--safe-right));
  bottom: calc(16px + var(--safe-bottom));
  z-index: 999;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: var(--radius);
  color: #032211;
  background: linear-gradient(135deg, #23d366, var(--success));
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(35, 211, 102, 0.28);
}

:focus-visible {
  outline: 3px solid rgba(0, 194, 255, 0.5);
  outline-offset: 3px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 1080px) {
  .hero-grid,
  .software-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero h1 {
    font-size: 54px;
  }

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

  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: max(16px, var(--safe-right));
    left: max(16px, var(--safe-left));
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: rgba(7, 17, 31, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .site-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-radius: var(--radius);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-header.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    padding: 54px 0 88px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-proof,
  .services-grid,
  .advantage-grid,
  .system-cards,
  .order-flow,
  .mobile-pair {
    grid-template-columns: 1fr;
  }

  .system-layout {
    grid-template-columns: 1fr;
  }

  .system-layout nav {
    grid-template-columns: repeat(5, minmax(100px, 1fr));
    overflow-x: auto;
  }

  .section-heading h2,
  .software-copy h2,
  .about-copy h2,
  .contact-card h2 {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 24px, 1180px);
  }

  .header-row {
    min-height: 70px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-copy small {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-text {
    font-size: 16px;
  }

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

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

  .contact-section {
    padding-left: max(12px, var(--safe-left));
    padding-right: max(12px, var(--safe-right));
  }

  .contact-section .container {
    width: 100%;
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-card {
    width: 100%;
    max-width: 430px;
    grid-template-columns: minmax(0, 1fr);
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  }

  .contact-copy,
  .quote-form,
  .form-row,
  .form-grid {
    width: 100%;
    min-width: 0;
  }

  .contact-email,
  .form-row input,
  .form-row select,
  .form-row textarea {
    max-width: 100%;
  }

  .contact-email {
    overflow-wrap: anywhere;
  }

  .support-board,
  .service-card,
  .advantage-card,
  .about-card,
  .contact-card,
  .timeline-item {
    padding: 16px;
  }

  .support-board__head,
  .showcase-head {
    display: grid;
  }

  .support-board__head strong {
    max-width: none;
    text-align: left;
  }

  .support-metrics,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .showcase-controls {
    justify-content: flex-start;
  }

  .showcase-viewport {
    min-height: 0;
  }

  .showcase-slide {
    padding: 12px;
  }

  .system-layout main {
    padding: 12px;
  }

  .section {
    padding: 68px 0;
  }

  .trust-items {
    justify-content: flex-start;
  }

  .whatsapp-float {
    left: max(12px, var(--safe-left));
    right: max(12px, var(--safe-right));
    bottom: calc(12px + var(--safe-bottom));
    width: auto;
    min-height: 46px;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
