:root {
  --navy: #0b1f3a;
  --navy-2: #102b4d;
  --teal: #19d7c2;
  --blue: #1b7dff;
  --amber: #f2a83b;
  --mint: #d8f8f4;
  --ink: #0f1e2f;
  --muted: #5e6b78;
  --line: #dbe5ee;
  --paper: #f7fbfd;
  --white: #ffffff;
  --shadow: 0 20px 48px rgba(11, 31, 58, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Avenir Next, Segoe UI, Arial, sans-serif;
  line-height: 1.5;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px 40px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 229, 238, 0.72);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  width: 280px;
  min-width: 220px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 1;
  flex-wrap: wrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover {
  background: var(--mint);
}

.language-switcher {
  display: block;
}

.language-select {
  min-height: 40px;
  min-width: 142px;
  padding: 8px 34px 8px 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 900;
}

.language-select:hover,
.language-select:focus {
  color: var(--navy);
  border-color: rgba(25, 215, 194, 0.72);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(25, 215, 194, 0.18);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78svh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/agent-operations-hero.webp");
  background-position: center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 24, 45, 0.94) 0%, rgba(8, 24, 45, 0.82) 38%, rgba(8, 24, 45, 0.4) 76%, rgba(8, 24, 45, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 24, 45, 0.2), rgba(8, 24, 45, 0.72));
}

.hero__content {
  width: min(760px, calc(100% - 40px));
  margin-left: max(32px, calc((100vw - 1160px) / 2));
  padding: 64px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 4.5rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero__lead {
  width: min(680px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.2rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
}

.button--primary {
  color: var(--navy);
  background: var(--amber);
}

.button--primary:hover {
  background: #ffc15e;
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.14);
}

.focus-strip {
  width: min(690px, 100%);
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.focus-strip__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.focus-tab {
  min-height: 40px;
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
}

.focus-tab.is-active {
  color: var(--navy);
  border-color: var(--teal);
  background: var(--teal);
}

.focus-strip__result {
  min-height: 32px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.section {
  padding: 84px 40px;
  background: var(--white);
}

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

.section--navy {
  color: var(--white);
  background: var(--navy);
}

.section__inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section__heading {
  width: min(620px, 100%);
  margin-bottom: 36px;
}

.section__heading--wide {
  width: min(820px, 100%);
}

.section h2 {
  margin: 0;
  color: var(--navy);
  font-size: 2.45rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section--navy h2 {
  color: var(--white);
}

.section-copy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section--navy .section-copy {
  color: rgba(255, 255, 255, 0.72);
}

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

.intro__grid article,
.agent-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.intro__grid h3,
.agent-card h3 {
  margin: 14px 0 10px;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.2;
}

.intro__grid p,
.agent-card p {
  margin: 0;
  color: var(--muted);
}

.metric {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--navy);
  border: 1px solid rgba(25, 215, 194, 0.55);
  border-radius: 50%;
  background: var(--mint);
  font-weight: 900;
}

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

.agent-card {
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.06);
}

.agent-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--navy);
  border-radius: 8px;
  background: var(--mint);
  font-size: 1.3rem;
  font-weight: 900;
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1.16fr);
  gap: 44px;
  align-items: center;
}

.product-feature__copy,
.product-feature__media {
  min-width: 0;
}

.product-feature__copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.product-feature__copy .section-copy {
  margin-top: 0;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.feature-list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(25, 215, 194, 0.14);
  content: "";
  transform: translateY(-50%);
}

.product-feature__media {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.product-feature__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

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

.service-card {
  display: grid;
  align-content: start;
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.06);
}

.service-card__index {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 16px 0 10px;
  color: var(--navy);
  font-size: 1.22rem;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.run-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: start;
}

.run-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.run-steps li {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 76px;
  padding: 18px;
  border: 1px solid rgba(216, 248, 244, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.run-steps span {
  color: var(--teal);
  font-weight: 900;
}

.run-steps strong {
  font-weight: 700;
}

.value__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: 44px;
  align-items: start;
}

.calculator {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.range-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
  align-items: center;
  color: var(--navy);
  font-weight: 800;
}

.range-field output {
  min-width: 86px;
  color: var(--blue);
  text-align: right;
}

.range-field input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--teal);
}

.calculator__result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 20px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
}

.calculator__result span {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.calculator__result strong {
  color: var(--teal);
  font-size: 2rem;
  line-height: 1;
}

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

.whatsapp-card {
  display: grid;
  gap: 16px;
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.06);
}

.whatsapp-card__status {
  justify-self: start;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(242, 168, 59, 0.42);
  border-radius: 8px;
  color: #835511;
  background: rgba(242, 168, 59, 0.16);
  font-size: 0.82rem;
  font-weight: 900;
}

.whatsapp-card__status.is-ready {
  color: #075a50;
  border-color: rgba(25, 215, 194, 0.48);
  background: rgba(25, 215, 194, 0.18);
}

.whatsapp-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.15;
}

.whatsapp-card p {
  margin: 0;
  color: var(--muted);
}

.whatsapp-card__details {
  display: grid;
  gap: 10px;
  margin: 0;
}

.whatsapp-card__details div {
  display: grid;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.whatsapp-card__details dt {
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.whatsapp-card__details dd {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.whatsapp-card__button {
  align-self: end;
  margin-top: auto;
}

.button.is-disabled {
  color: var(--muted);
  border-color: var(--line);
  background: var(--paper);
}

.whatsapp-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}

.whatsapp-flow span {
  min-height: 52px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: var(--paper);
  font-weight: 850;
  text-align: center;
}

.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sector-list span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: var(--paper);
  font-weight: 800;
}

.contact {
  color: var(--white);
  background: var(--navy-2);
}

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

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 44px;
  align-items: center;
}

.contact__actions {
  display: grid;
  gap: 14px;
}

.contact__actions p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  padding: 28px 40px;
  background: #07172b;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(1160px, 100%);
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__brand,
.site-footer__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer__links {
  justify-content: flex-end;
  gap: 18px;
}

.site-footer img {
  width: 36px;
  height: 36px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--mint);
}

.product-page {
  background: var(--white);
}

.product-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: 42px;
  align-items: center;
  min-height: auto;
  padding: 72px max(40px, calc((100vw - 1160px) / 2));
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}

.product-hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 24, 45, 0.98), rgba(8, 24, 45, 0.78)),
    linear-gradient(180deg, rgba(27, 125, 255, 0.14), rgba(25, 215, 194, 0.08));
}

.product-hero__copy,
.product-hero__media {
  position: relative;
  z-index: 1;
}

.product-hero__copy {
  width: min(620px, 100%);
  min-width: 0;
  margin-left: 0;
}

.product-hero h1 {
  margin: 0;
  font-size: 3.8rem;
  line-height: 0.98;
}

.product-hero__lead {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.16rem;
}

.product-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.product-hero__media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.3);
}

.product-hero__media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

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

.product-spec {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-spec span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-spec h3 {
  margin: 12px 0 8px;
  color: var(--navy);
  font-size: 1.25rem;
}

.product-spec p {
  margin: 0;
  color: var(--muted);
}

.product-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  gap: 44px;
  align-items: center;
}

.product-split__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.product-split__media img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.capability-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.capability-list li {
  padding: 16px;
  border: 1px solid rgba(216, 248, 244, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.capability-list strong {
  display: block;
  color: var(--teal);
}

.capability-list span {
  color: rgba(255, 255, 255, 0.74);
}

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

.delivery-steps li {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.delivery-steps span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.delivery-steps h3 {
  margin: 14px 0 8px;
  color: var(--navy);
}

.delivery-steps p {
  margin: 0;
  color: var(--muted);
}

.product-cta {
  color: var(--white);
  background: var(--navy-2);
}

.product-cta h2 {
  color: var(--white);
}

.product-cta .section-copy {
  color: rgba(255, 255, 255, 0.76);
}

.legal-page {
  background: var(--paper);
}

.legal-hero {
  padding: 76px max(40px, calc((100vw - 1160px) / 2));
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(11, 31, 58, 0.98), rgba(16, 43, 77, 0.86)),
    linear-gradient(135deg, rgba(27, 125, 255, 0.22), rgba(25, 215, 194, 0.18));
}

.legal-hero__inner {
  width: min(860px, 100%);
  margin: 0 auto;
  text-align: center;
}

.legal-hero h1 {
  margin: 0;
  font-size: 4.8rem;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.legal-section {
  background: var(--paper);
}

.legal-document {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 48px rgba(11, 31, 58, 0.08);
}

.legal-document h1 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 2.7rem;
  line-height: 1.12;
  text-align: center;
}

.legal-document h2 {
  margin: 34px 0 10px;
  color: var(--navy);
  font-size: 1.45rem;
}

.legal-document h3 {
  margin: 24px 0 8px;
  color: var(--navy-2);
  font-size: 1.05rem;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
}

.legal-document p {
  margin: 0 0 14px;
}

.legal-document ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-table-wrap {
  width: 100%;
  margin: 16px 0 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.legal-document table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.legal-document th,
.legal-document td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-document th {
  color: var(--navy);
  background: var(--paper);
  font-weight: 900;
}

.legal-document td {
  color: var(--muted);
}

.legal-document tbody tr:last-child td {
  border-bottom: 0;
}

.legal-document strong {
  color: var(--ink);
}

.legal-document code {
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(11, 31, 58, 0.08);
  color: var(--navy);
  font-size: 0.9em;
}

.legal-document a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-document hr {
  margin: 30px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.partner-page {
  background: var(--navy);
}

.partner-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100svh - 88px);
  padding: 72px max(40px, calc((100vw - 1160px) / 2));
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(11, 31, 58, 0.98), rgba(11, 31, 58, 0.9) 44%, rgba(16, 43, 77, 0.68)),
    linear-gradient(135deg, rgba(27, 125, 255, 0.2), rgba(25, 215, 194, 0.2)),
    url("assets/agent-operations-hero.webp") center / cover no-repeat;
  isolation: isolate;
}

.partner-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(216, 248, 244, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(216, 248, 244, 0.08) 1px, transparent 1px),
    linear-gradient(110deg, rgba(25, 215, 194, 0.12), transparent 38%, rgba(27, 125, 255, 0.12));
  background-size: 72px 72px, 72px 72px, auto;
  backdrop-filter: blur(3px);
}

.partner-hero__copy,
.partner-form-panel {
  position: relative;
  min-width: 0;
  z-index: 1;
}

.partner-hero__copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.partner-hero h1 {
  max-width: 660px;
  margin: 0;
  color: var(--white);
  font-size: 5.15rem;
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.partner-hero .eyebrow {
  color: var(--teal);
}

.partner-hero__lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.22;
}

.partner-form-panel {
  width: 100%;
  padding: 30px;
  border: 1px solid rgba(219, 229, 238, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.partner-form-panel h2 {
  margin: 0 0 28px;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1.1;
  text-align: left;
}

.partner-form {
  display: grid;
  gap: 16px;
}

.partner-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 10px;
}

.partner-form__field--wide {
  grid-column: 1 / -1;
}

.partner-form input[type="text"],
.partner-form input[type="email"],
.partner-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
}

.partner-form input[type="text"],
.partner-form input[type="email"] {
  height: 48px;
  padding: 0 12px;
}

.partner-form textarea {
  min-height: 62px;
  padding: 12px;
  resize: vertical;
}

.partner-form ::placeholder {
  color: rgba(94, 107, 120, 0.7);
  opacity: 1;
}

.partner-form input[type="text"]:focus,
.partner-form input[type="email"]:focus,
.partner-form textarea:focus {
  border-color: rgba(25, 215, 194, 0.72);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(25, 215, 194, 0.18);
}

.partner-form__privacy {
  margin: -4px 0 2px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.5;
}

.partner-form__privacy a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.partner-form__consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.4;
}

.partner-form__consent input {
  width: 13px;
  height: 13px;
  margin-top: 4px;
  accent-color: var(--teal);
}

.partner-form .button {
  width: 100%;
  margin-top: 0;
  border-color: var(--amber);
  background: var(--amber);
  color: var(--navy);
  text-transform: uppercase;
}

.partner-form .button:hover {
  background: #ffc15e;
}

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

.chatbot {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.chatbot__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 16px 10px 10px;
  color: var(--navy);
  border: 1px solid rgba(25, 215, 194, 0.56);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-weight: 900;
  cursor: pointer;
}

.chatbot__toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--navy);
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: var(--mint);
  overflow: hidden;
}

.chatbot__toggle-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chatbot__panel {
  width: min(380px, calc(100vw - 36px));
  overflow: hidden;
  border: 1px solid rgba(219, 229, 238, 0.9);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(7, 23, 43, 0.24);
}

.chatbot__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  color: var(--white);
  background: var(--navy);
}

.chatbot__header div {
  display: grid;
  gap: 2px;
}

.chatbot__header strong {
  line-height: 1.2;
}

.chatbot__header span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 700;
}

.chatbot__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-weight: 900;
}

.chatbot__controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.chatbot__controls--global-market {
  grid-template-columns: 1fr;
}

.chatbot__controls label {
  display: grid;
  gap: 4px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chatbot__controls label[hidden] {
  display: none;
}

.chatbot__controls select {
  width: 100%;
  min-height: 38px;
  padding: 8px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: none;
}

.chatbot__form textarea:focus,
.chatbot__controls select:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(25, 215, 194, 0.16);
}

.chatbot__messages {
  display: grid;
  gap: 10px;
  max-height: 300px;
  min-height: 220px;
  padding: 16px;
  overflow-y: auto;
}

.chatbot-message {
  width: fit-content;
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.94rem;
  line-height: 1.38;
}

.chatbot-message--assistant {
  justify-self: start;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
}

.chatbot-message--user {
  justify-self: end;
  color: var(--navy);
  background: var(--mint);
  border: 1px solid rgba(25, 215, 194, 0.42);
}

.chatbot-message--rich p,
.chatbot-message--rich ul,
.chatbot-message--rich ol,
.chatbot-message--rich pre,
.chatbot-message--rich blockquote,
.chatbot-message--rich h4 {
  margin: 0;
}

.chatbot-message--rich > * + * {
  margin-top: 8px;
}

.chatbot-message--rich p,
.chatbot-message--rich li {
  overflow-wrap: anywhere;
}

.chatbot-message--rich h4 {
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.25;
}

.chatbot-message--rich ul,
.chatbot-message--rich ol {
  padding-left: 18px;
}

.chatbot-message--rich ol {
  display: grid;
  gap: 7px;
}

.chatbot-message--rich li {
  padding-left: 2px;
}

.chatbot-message--rich li + li {
  margin-top: 4px;
}

.chatbot-message--rich li::marker {
  color: var(--blue);
  font-weight: 900;
}

.chatbot-message--rich a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chatbot-message--rich code {
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(11, 31, 58, 0.08);
  color: var(--navy);
  font-size: 0.9em;
}

.chatbot-message--rich pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 10px;
  border-radius: 8px;
  background: rgba(11, 31, 58, 0.08);
}

.chatbot-message--rich pre code {
  padding: 0;
  background: transparent;
}

.chatbot-message--rich .chatbot-message__table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.chatbot-message--rich table {
  width: 100%;
  min-width: 280px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.chatbot-message--rich th,
.chatbot-message--rich td {
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

.chatbot-message--rich th {
  color: var(--navy);
  background: var(--paper);
  font-weight: 900;
}

.chatbot-message--rich td {
  color: var(--ink);
}

.chatbot-message--rich tbody tr:last-child td {
  border-bottom: 0;
}

.chatbot-message--rich blockquote {
  padding-left: 10px;
  color: var(--muted);
  border-left: 3px solid var(--mint);
}

.chatbot__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}

.chatbot__form textarea {
  width: 100%;
  min-height: 48px;
  max-height: 130px;
  resize: vertical;
  padding: 10px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.chatbot__form button {
  align-self: end;
}

.chatbot__form button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.chatbot__note {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 24px;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .brand {
    width: 250px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 74svh;
  }

  .hero__content {
    margin-left: 24px;
    padding: 50px 0;
  }

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

  .legal-hero {
    padding: 64px 24px;
  }

  .legal-hero h1 {
    font-size: 3.7rem;
  }

  .legal-document h1 {
    font-size: 2.25rem;
  }

  .intro__grid,
  .agent-grid,
  .product-feature,
  .services-grid,
  .whatsapp-grid,
  .product-hero,
  .product-specs,
  .product-split,
  .partner-hero,
  .delivery-steps,
  .run-layout,
  .value__inner,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .whatsapp-flow {
    grid-template-columns: 1fr;
  }

  .agent-card,
  .intro__grid article,
  .service-card,
  .delivery-steps li,
  .whatsapp-card {
    min-height: auto;
  }

  .product-feature__media img,
  .product-hero__media img,
  .product-split__media img {
    min-height: 300px;
  }

  .product-hero {
    padding: 56px 24px;
  }

  .partner-hero {
    min-height: auto;
    padding: 64px 24px;
  }

  .partner-hero h1 {
    font-size: 4rem;
  }

  .partner-form-panel {
    padding: 24px;
  }

  .product-hero__copy {
    margin-left: 0;
  }

  .product-hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section,
  .product-hero,
  .partner-hero,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand {
    width: 220px;
    min-width: 0;
  }

  .site-nav a {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero {
    min-height: 72svh;
  }

  .hero__content {
    width: calc(100% - 36px);
    margin-left: 18px;
    padding: 42px 0;
  }

  .hero h1 {
    font-size: 1.85rem;
    overflow-wrap: anywhere;
  }

  .legal-hero {
    padding: 54px 18px;
  }

  .legal-hero h1 {
    font-size: 2.45rem;
  }

  .legal-document {
    padding: 24px;
  }

  .legal-document h1 {
    font-size: 1.8rem;
  }

  .product-hero h1 {
    font-size: 2.1rem;
    overflow-wrap: anywhere;
  }

  .partner-hero h1 {
    font-size: 2.8rem;
    overflow-wrap: anywhere;
  }

  .hero__lead {
    font-size: 1.03rem;
  }

  .product-hero__lead,
  .partner-hero__lead {
    font-size: 1.03rem;
  }

  .button {
    width: 100%;
  }

  .focus-strip__tabs,
  .hero__actions,
  .product-hero__actions {
    width: 100%;
  }

  .focus-tab {
    flex: 1 1 100%;
  }

  .section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .section h2 {
    font-size: 2rem;
  }

  .run-steps li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .product-feature__media img,
  .product-hero__media img,
  .product-split__media img {
    min-height: 220px;
  }

  .calculator {
    padding: 18px;
  }

  .range-field {
    grid-template-columns: 1fr;
  }

  .range-field output {
    min-width: 0;
    text-align: left;
  }

  .partner-form__grid {
    grid-template-columns: 1fr;
  }

  .partner-form-panel h2 {
    font-size: 1.6rem;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__links {
    justify-content: flex-start;
  }

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

  .chatbot {
    right: 18px;
    bottom: 18px;
  }

  .chatbot__panel {
    width: calc(100vw - 36px);
  }

  .chatbot__controls,
  .chatbot__form {
    grid-template-columns: 1fr;
  }

  .chatbot__form button {
    width: 100%;
  }
}
