@import url("./ui-tokens.css");

:root {
  color-scheme: light;
  --ink: var(--neutral-800);
  --muted: var(--neutral-500);
  --bg: var(--neutral-50);
  --surface: var(--neutral-0);
  --surface-blue: var(--brand-50);
  --line: var(--neutral-200);
  --navy: var(--neutral-800);
  --navy-2: var(--neutral-950);
  --ocean: var(--brand-700);
  --blue: var(--brand-500);
  --cyan: var(--brand-400);
  --cyan-soft: var(--brand-100);
  --accent: var(--brand-500);
  --accent-2: var(--brand-400);
  --accent-soft: var(--brand-50);
  --green: var(--semantic-success);
  --green-soft: var(--semantic-success-soft);
  --shadow: var(--ui-shadow-lg);
  --hard-shadow: 0 18px 0 rgba(19, 21, 31, 0.08);
  --radius: var(--ui-radius-md);
  font-family: var(--ui-font-family);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--ui-font-family-heading);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 10px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.92);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}

.brand-logo {
  display: block;
  width: clamp(176px, 16vw, 230px);
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: #315a74;
  font-size: 0.93rem;
  font-weight: 850;
}

.site-nav a {
  padding: 10px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-800);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 950;
  line-height: 1.2;
}

.nav-cta,
.btn.primary {
  border: 1px solid var(--brand-500);
  background: var(--brand-500);
  color: var(--neutral-800);
  box-shadow: 0 12px 26px rgba(224, 152, 0, 0.22);
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

.btn.outline {
  border: 1px solid rgba(255, 173, 0, 0.28);
  background: #ffffff;
  color: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(650px, 90svh, 820px);
  background-color: var(--neutral-950);
  background-image:
    linear-gradient(120deg, rgba(19, 21, 31, 0.98) 0%, rgba(37, 40, 46, 0.94) 48%, rgba(77, 52, 0, 0.80) 100%),
    url("public/brand/comandas365-app-icon-dark-1024.png");
  background-position: center, right clamp(-90px, 4vw, 78px) center;
  background-repeat: no-repeat;
  background-size: cover, min(54vw, 640px);
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 148px;
  background:
    linear-gradient(135deg, transparent 0 22%, rgba(255, 214, 128, 0.24) 22% 34%, transparent 34% 50%, rgba(255, 173, 0, 0.18) 50% 63%, transparent 63%),
    linear-gradient(180deg, transparent, rgba(19, 21, 31, 0.38));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 470px);
  align-items: center;
  gap: clamp(30px, 6vw, 82px);
  min-height: inherit;
  padding: 70px 0 84px;
}

.hero-copy {
  min-width: 0;
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-400);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 5rem;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.hero-lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2.1vw, 1.4rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(255, 173, 0, 0.34);
  border-radius: var(--radius);
  background: rgba(19, 21, 31, 0.36);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 850;
}

.operation-preview {
  position: relative;
  min-width: 0;
  align-self: center;
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: var(--neutral-0);
  color: var(--ink);
  box-shadow: var(--shadow), var(--hard-shadow);
}

.operation-preview::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  border: 1px solid rgba(255, 214, 128, 0.36);
  border-radius: var(--radius);
}

.preview-topbar,
.preview-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.preview-topbar {
  min-height: 50px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 950;
}

.preview-topbar strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--green);
}

.preview-flow {
  display: grid;
  grid-template-columns: 18px 1fr 18px 1fr 18px;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}

.preview-dot {
  width: 18px;
  height: 18px;
  border: 4px solid var(--cyan);
  border-radius: 50%;
  background: #ffffff;
}

.preview-dot.active {
  background: var(--accent);
  border-color: #ffd0b5;
}

.preview-line {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.preview-metric {
  min-height: 90px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(37, 40, 46, 0.08);
}

.preview-metric span,
.preview-list span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.preview-metric strong {
  display: block;
  margin-top: 10px;
  color: var(--ocean);
  font-size: 1.1rem;
}

.preview-list {
  display: grid;
  gap: 10px;
}

.preview-list div {
  min-height: 52px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.preview-list strong {
  color: var(--navy);
  font-size: 0.9rem;
  white-space: nowrap;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.signal-row span {
  min-height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 214, 128, 0.18), rgba(255, 173, 0, 0.12));
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 950;
  text-align: center;
}

.section {
  padding: clamp(66px, 9vw, 110px) clamp(18px, 5vw, 72px);
}

section[id] {
  scroll-margin-top: 88px;
}

.section-heading {
  width: min(1060px, 100%);
  margin: 0 auto 36px;
}

.section-heading h2 {
  max-width: 850px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.28rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.intro-section .section-heading,
.intro-copy {
  width: 100%;
  margin: 0;
}

.intro-copy {
  display: grid;
  gap: 18px;
  color: #49697f;
  font-size: 1.08rem;
  line-height: 1.72;
}

.intro-copy p {
  margin: 0;
}

.story-section,
.flow-section,
.gains-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #eefaff 100%);
}

.story-board {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.story-step {
  display: grid;
  gap: 18px;
  min-height: 270px;
  padding: 22px;
  border: 1px solid rgba(255, 173, 0, 0.22);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(37, 40, 46, 0.08);
}

.story-step p {
  margin: 0;
  color: #385c75;
  font-weight: 800;
  line-height: 1.5;
}

.story-drawing {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 148px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 214, 128, 0.18), rgba(255, 173, 0, 0.20)),
    linear-gradient(180deg, #ffffff, #eefaff);
  overflow: hidden;
}

.story-drawing::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.44);
  box-shadow: inset 0 0 0 1px rgba(255, 173, 0, 0.10);
}

.story-drawing svg {
  position: relative;
  z-index: 1;
  width: min(82%, 220px);
  height: 124px;
  display: block;
}

.story-drawing .icon-surface,
.story-drawing .icon-card {
  fill: #ffffff;
  stroke: var(--ocean);
  stroke-width: 4;
}

.story-drawing .icon-card {
  fill: var(--navy);
  stroke: var(--blue);
}

.story-drawing .icon-line,
.story-drawing .icon-strong,
.story-drawing .icon-white {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.story-drawing .icon-line {
  stroke: var(--cyan);
  stroke-width: 5;
}

.story-drawing .icon-line.soft {
  stroke: rgba(224, 152, 0, 0.26);
  stroke-width: 5;
}

.story-drawing .icon-strong {
  stroke: var(--navy);
  stroke-width: 5;
}

.story-drawing .icon-strong.fill {
  fill: var(--navy);
  stroke: none;
}

.story-drawing .icon-white {
  stroke: #ffffff;
  stroke-width: 5;
}

.story-drawing .icon-accent {
  fill: var(--accent);
}

.story-drawing .icon-dot {
  fill: var(--accent);
}

.story-drawing .icon-shadow {
  fill: rgba(37, 40, 46, 0.10);
}

.problem-section {
  background: linear-gradient(180deg, #062251 0%, #07316c 100%);
  color: #ffffff;
}

.problem-section .section-heading h2 {
  color: #ffffff;
}

.problem-grid,
.module-grid,
.example-grid,
.gain-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.problem-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.problem-item {
  position: relative;
  min-height: 128px;
  padding: 20px 18px 18px;
  border: 1px solid rgba(255, 214, 128, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 850;
  line-height: 1.38;
}

.problem-item span {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 1.2rem;
  font-weight: 950;
}

.module-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card {
  min-height: 226px;
  padding: 22px;
  border: 1px solid rgba(255, 173, 0, 0.18);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(37, 40, 46, 0.08);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 214, 128, 0.26), rgba(255, 173, 0, 0.18)),
    #f5fdff;
  color: var(--ocean);
  box-shadow: inset 0 0 0 1px rgba(255, 173, 0, 0.20);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.06rem;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: #526f82;
  line-height: 1.55;
}

.flow-steps {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.flow-step {
  position: relative;
  min-height: 160px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-content: start;
  column-gap: 14px;
  row-gap: 8px;
  padding: 20px 18px;
  border: 1px solid rgba(255, 173, 0, 0.22);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(37, 40, 46, 0.08);
  overflow: hidden;
}

.flow-step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--accent));
}

.flow-step:nth-child(4),
.flow-step:nth-child(5),
.flow-step:nth-child(6) {
  background: linear-gradient(180deg, #ffffff, #f4fcff);
}

.flow-number {
  position: absolute;
  top: 12px;
  right: 14px;
  color: rgba(37, 40, 46, 0.22);
  font-size: 1.05rem;
  font-weight: 950;
}

.flow-icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 214, 128, 0.26), rgba(255, 173, 0, 0.18)),
    #f5fdff;
  color: var(--ocean);
  box-shadow: inset 0 0 0 1px rgba(255, 173, 0, 0.20);
}

.flow-icon svg {
  width: 29px;
  height: 29px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-step strong {
  grid-column: 2;
  margin-top: 4px;
  padding-right: 34px;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.25;
}

.flow-step p {
  grid-column: 2;
  margin: 0;
  color: #526f82;
  font-weight: 750;
  line-height: 1.4;
}

.flow-note {
  width: min(780px, 100%);
  margin: 26px auto 0;
  color: #526f82;
  font-size: 1.04rem;
  line-height: 1.58;
  text-align: center;
}

.split-section {
  background:
    linear-gradient(135deg, rgba(255, 214, 128, 0.18), rgba(255, 173, 0, 0.10)),
    #f6fcff;
}

.two-column,
.security-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 173, 0, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: #315a74;
  line-height: 1.38;
  font-weight: 850;
}

.check-list li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.example-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-case-card {
  min-height: 330px;
  display: grid;
  align-content: start;
}

.case-illustration {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 148px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 173, 0, 0.16), rgba(255, 214, 128, 0.22)),
    #f4fcff;
  overflow: hidden;
}

.case-illustration::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 173, 0, 0.10);
}

.case-illustration svg {
  position: relative;
  z-index: 1;
  width: min(86%, 240px);
  height: 128px;
  display: block;
}

.case-surface {
  fill: #ffffff;
  stroke: var(--ocean);
  stroke-width: 4;
}

.case-card {
  fill: var(--navy);
  stroke: var(--blue);
  stroke-width: 4;
}

.case-line,
.case-strong,
.case-white {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-line {
  stroke: var(--cyan);
  stroke-width: 5;
}

.case-line.soft {
  stroke: rgba(224, 152, 0, 0.26);
  stroke-width: 5;
}

.case-strong {
  stroke: var(--navy);
  stroke-width: 5;
}

.case-white {
  stroke: #ffffff;
  stroke-width: 5;
}

.case-accent,
.case-tag {
  fill: var(--accent);
}

.case-shadow {
  fill: rgba(37, 40, 46, 0.10);
}

.gain-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gain-grid span {
  min-height: 98px;
  display: grid;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(20, 164, 111, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-soft), #ffffff);
  color: #12694a;
  font-weight: 950;
}

.commercial-section {
  background:
    linear-gradient(135deg, rgba(37, 40, 46, 0.96), rgba(224, 152, 0, 0.88)),
    var(--navy);
  color: #ffffff;
}

.commercial-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.commercial-inner .section-heading {
  width: 100%;
}

.commercial-inner .section-heading h2 {
  color: #ffffff;
}

.commercial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 18px;
  align-items: stretch;
}

.commercial-copy {
  min-height: 260px;
  display: grid;
  align-content: center;
  padding: 30px;
  border: 1px solid rgba(255, 214, 128, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.commercial-copy p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.65;
}

.commercial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.commercial-steps {
  display: grid;
  gap: 12px;
}

.commercial-steps span {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 214, 128, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.90);
  font-weight: 900;
}

.commercial-steps strong {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: var(--radius);
  background: var(--cyan-soft);
  color: var(--navy);
  font-size: 0.88rem;
}

.security-section {
  background: #f4fbff;
}

.security-layout > div {
  padding: 26px;
  border: 1px solid rgba(255, 173, 0, 0.20);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(37, 40, 46, 0.06);
}

.security-layout h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 1.25rem;
}

.access-panel h3:not(:first-child) {
  margin-top: 26px;
}

.access-panel p {
  margin: 0;
  color: #526f82;
  line-height: 1.62;
}

.contact-section {
  padding: clamp(68px, 9vw, 112px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(37, 40, 46, 0.98), rgba(224, 152, 0, 0.92)),
    var(--navy);
  color: #ffffff;
}

.contact-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.contact-inner h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.contact-inner p:not(.eyebrow) {
  max-width: 640px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: 1.08rem;
  line-height: 1.62;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-actions .btn {
  width: 100%;
}

.site-footer {
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, #ffffff, #f3fbff);
  color: #526f82;
  font-size: 0.94rem;
  font-weight: 850;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(150px, 0.72fr));
  gap: clamp(20px, 4vw, 46px);
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 8px;
  max-width: 340px;
}

.footer-brand strong {
  color: var(--navy);
  font-size: 1.15rem;
}

.footer-brand span {
  color: #526f82;
  line-height: 1.45;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-column strong {
  color: var(--navy);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.footer-column a {
  color: #526f82;
  line-height: 1.35;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--ocean);
}

.simple-page {
  background: linear-gradient(180deg, #f5fcff 0%, #ffffff 58%, #eefaff 100%);
}

.page-hero {
  padding: clamp(72px, 10vw, 116px) clamp(18px, 5vw, 72px) clamp(44px, 7vw, 72px);
  background:
    linear-gradient(120deg, rgba(37, 40, 46, 0.98), rgba(224, 152, 0, 0.88)),
    var(--navy);
  color: #ffffff;
}

.page-hero-inner,
.content-inner {
  width: min(960px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.64;
}

.content-section {
  padding: clamp(48px, 8vw, 86px) clamp(18px, 5vw, 72px);
}

.legal-layout {
  display: grid;
  gap: 16px;
}

.legal-card {
  padding: 26px;
  border: 1px solid rgba(255, 173, 0, 0.18);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(37, 40, 46, 0.06);
}

.legal-card h2,
.legal-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  line-height: 1.2;
}

.legal-card p {
  margin: 0;
  color: #526f82;
  line-height: 1.65;
}

.legal-card p + p,
.legal-card ul + p {
  margin-top: 12px;
}

.legal-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #526f82;
  line-height: 1.55;
}

.status-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(20, 164, 111, 0.20);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-soft), #ffffff);
  color: #12694a;
  font-weight: 900;
}

.status-list span:last-child {
  color: var(--green);
}

.sales-bot-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean), var(--blue));
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(224, 152, 0, 0.34);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.sales-bot-toggle:hover,
.sales-bot-toggle:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.04);
  outline: none;
}

.sales-bot-window {
  position: fixed;
  right: 22px;
  bottom: 100px;
  z-index: 80;
  display: none;
  width: min(390px, calc(100vw - 32px));
  height: min(590px, calc(100svh - 126px));
  overflow: hidden;
  border: 1px solid rgba(255, 173, 0, 0.24);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 26px 72px rgba(37, 40, 46, 0.28);
}

.sales-bot-window.open {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.sales-bot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--ocean), var(--blue));
  color: #ffffff;
}

.sales-bot-header div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.sales-bot-header strong {
  font-size: 1rem;
}

.sales-bot-header span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  line-height: 1.25;
}

.sales-bot-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.sales-bot-close:hover,
.sales-bot-close:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  outline: none;
}

.sales-bot-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(237, 249, 255, 0.86), rgba(255, 255, 255, 0.94)),
    #f5fcff;
}

.sales-bot-message {
  max-width: 86%;
  padding: 11px 13px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.sales-bot-message.bot {
  align-self: flex-start;
  border: 1px solid rgba(255, 173, 0, 0.14);
  background: #ffffff;
  color: #315a74;
  box-shadow: 0 8px 24px rgba(37, 40, 46, 0.06);
}

.sales-bot-message.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--ocean), var(--blue));
  color: #ffffff;
}

.sales-bot-actions {
  align-self: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 96%;
}

.sales-bot-actions button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 173, 0, 0.24);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
}

.sales-bot-actions button:hover,
.sales-bot-actions button:focus-visible {
  border-color: var(--ocean);
  color: var(--ocean);
  outline: none;
}

.sales-bot-whatsapp {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--green);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(20, 164, 111, 0.22);
}

.sales-bot-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(255, 173, 0, 0.16);
  background: #ffffff;
}

.sales-bot-input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(255, 173, 0, 0.22);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  outline: none;
}

.sales-bot-input:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(255, 173, 0, 0.12);
}

.sales-bot-send {
  min-width: 76px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #ffffff;
  font-weight: 950;
  cursor: pointer;
}

.sales-bot-send:hover,
.sales-bot-send:focus-visible {
  filter: brightness(0.96);
  outline: none;
}

@media (max-width: 1100px) {
  .module-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    display: none;
  }

  .nav-cta {
    justify-self: end;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .operation-preview {
    max-width: 650px;
  }

  .problem-grid,
  .story-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    gap: 12px;
  }

  .brand-logo {
    width: 150px;
    height: 44px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
    background-size: cover, 430px;
    background-position: center, right -176px top 60px;
  }

  .hero::before {
    height: 92px;
  }

  .hero-inner {
    width: min(100% - 28px, 1180px);
    padding: 58px 0 48px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-lead {
    font-size: 1.04rem;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: 1fr;
  }

  .preview-grid,
  .signal-row,
  .problem-grid,
  .module-grid,
  .flow-steps,
  .example-grid,
  .gain-grid,
  .two-column,
  .commercial-layout,
  .security-layout,
  .contact-inner,
  .intro-section,
  .story-board {
    grid-template-columns: 1fr;
  }

  .operation-preview {
    padding: 14px;
  }

  .preview-list div {
    align-items: start;
    flex-direction: column;
    justify-content: center;
    padding: 12px;
  }

  .preview-list strong {
    white-space: normal;
  }

  .section {
    padding: 56px 16px;
  }

  section[id] {
    scroll-margin-top: 74px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .problem-item,
  .feature-card,
  .story-step {
    min-height: auto;
  }

  .security-layout > div {
    padding: 18px;
  }

  .commercial-copy {
    min-height: auto;
    padding: 22px;
  }

  .commercial-actions,
  .commercial-actions .btn {
    width: 100%;
  }

  .commercial-actions {
    display: grid;
  }

  .contact-section {
    padding: 60px 16px;
  }

  .contact-actions .btn {
    min-height: 50px;
    padding: 0 14px;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .site-footer {
    padding: 22px 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-hero,
  .content-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .legal-card {
    padding: 20px;
  }

  .status-list li {
    display: grid;
  }

  .sales-bot-toggle {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
    font-size: 1.65rem;
  }

  .sales-bot-window {
    right: 12px;
    left: 12px;
    bottom: 86px;
    width: auto;
    height: min(560px, calc(100svh - 108px));
  }

  .sales-bot-message {
    max-width: 91%;
  }

  .sales-bot-send {
    min-width: 68px;
  }
}

@media (max-width: 359px) {
  .hero h1 {
    font-size: 2.35rem;
  }
}
