:root {
  --blue: #0556cf;
  --blue-dark: #054fbf;
  --green-light: #c3e2c5;
  --green-mid: #639c8e;
  --green-dark: #14353c;
  --green-deep: #0f292e;
  --black: #1a1a1a;
  --ink: #16140c;
  --off-white: #fefaf2;
  --silver: #e8e8e8;
  --muted: #69727d;
  --violet: #9a4497;
  --white: #ffffff;
  --container: min(1160px, calc(100vw - 40px));
  --shadow: 0 24px 70px rgba(5, 86, 207, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body,
button,
input,
select,
textarea {
  font: 400 16px/1.5 "Poppins", Arial, Helvetica, sans-serif;
}

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

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

button {
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 16px max(24px, calc((100vw - 1160px) / 2));
  color: var(--blue);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(5, 86, 207, 0.12);
  backdrop-filter: blur(16px);
}

.brand img,
.site-footer img {
  width: 135px;
  height: auto;
}

.brand img {
  filter: invert(27%) sepia(86%) saturate(2805%) hue-rotate(208deg) brightness(90%) contrast(98%);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-weight: 500;
}

.main-nav a {
  position: relative;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(5, 86, 207, 0.24);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.header-cta svg,
.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 82px);
  color: var(--blue);
  background: var(--green-light);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.18) 0 28%, transparent 28% 100%),
    linear-gradient(160deg, transparent 0 58%, rgba(255, 255, 255, 0.2) 58% 100%);
  content: "";
}

.hero-media {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(62vw, 820px);
  height: min(64vh, 560px);
  clip-path: polygon(36% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 54px;
  width: var(--container);
  margin: 0 auto;
  padding: clamp(24px, 2.6vw, 38px) 0 44px;
}

.hero-copy {
  max-width: 680px;
  padding-top: 40px;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.method-section h2,
.zendesk-section h2,
.brasil-section h2,
.final-cta h2 {
  margin: 0;
  font-weight: 500;
  line-height: 1.02;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(3rem, 6vw, 4.65rem);
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--blue);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button.secondary {
  color: var(--blue);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(20, 53, 60, 0.1);
}

.proof-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 660px;
  margin: 42px 0 0;
}

.proof-points div {
  padding-top: 18px;
  border-top: 1px solid rgba(5, 86, 207, 0.26);
}

.proof-points dt {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 700;
}

.proof-points dd {
  margin: 4px 0 0;
  color: rgba(5, 86, 207, 0.8);
  font-size: 0.92rem;
}

.lead-panel {
  align-self: start;
  padding: 20px;
  color: var(--black);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lead-panel-head h2 {
  margin: 0;
  color: var(--green-dark);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 400;
  line-height: 1.02;
}

.lead-panel-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.panel-kicker {
  color: var(--violet);
}

.lead-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

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

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

.lead-form label > span {
  color: var(--green-dark);
  font-size: 0.83rem;
  font-weight: 600;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--black);
  background: var(--white);
  border: 1px solid #d6ded8;
  border-radius: 8px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(5, 86, 207, 0.12);
}

.lead-form .field-error {
  border-color: #d64545;
}

.consent {
  display: flex !important;
  grid-template-columns: 18px 1fr;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--muted);
  font-size: 0.82rem;
}

.consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 600;
}

.form-status.error {
  color: #b63535;
}

.button.submit {
  width: 100%;
  color: var(--white);
  background: var(--blue);
}

.trust-strip {
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(220px, 1fr) 170px;
  align-items: center;
  gap: 28px;
  width: var(--container);
  margin: -18px auto 0;
  padding: 22px 28px;
  color: var(--ink);
  background: var(--off-white);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(20, 53, 60, 0.12);
}

.trust-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-brand span {
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
}

.zenital-wordmark {
  width: 118px;
}

.zendesk-wordmark {
  width: 112px;
}

.trust-strip p {
  margin: 0;
  color: var(--green-dark);
  font-weight: 600;
}

.partner-badge {
  justify-self: end;
  width: 150px;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(76px, 9vw, 118px) 0;
}

.section-head {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head .eyebrow {
  margin: 0;
  color: var(--green-mid);
}

.section h2,
.method-section h2,
.brasil-section h2,
.final-cta h2 {
  color: var(--blue);
  font-size: clamp(2.25rem, 5vw, 4rem);
}

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

.problem-grid article,
.service-card,
.suite-card,
.pillars article,
.brasil-address {
  border-radius: 8px;
}

.problem-grid article {
  min-height: 250px;
  padding: 28px;
  color: var(--white);
  background: var(--blue);
}

.problem-grid article:nth-child(2) {
  background: var(--green-dark);
}

.problem-grid article:nth-child(3) {
  color: var(--ink);
  background: var(--green-light);
}

.number {
  display: inline-block;
  margin-bottom: 54px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.problem-grid h3,
.service-card h3,
.suite-card h3,
.pillars h3,
.brasil-address h3,
.method-list h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.problem-grid p,
.service-card p,
.suite-card p,
.pillars p,
.method-list p,
.brasil-section p {
  margin: 0;
}

.services-section {
  padding-top: 16px;
}

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

.service-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--silver);
  box-shadow: 0 14px 42px rgba(20, 53, 60, 0.07);
}

.service-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 28px;
  color: var(--blue);
  background: rgba(5, 86, 207, 0.08);
  border-radius: 8px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.method-section {
  padding: clamp(72px, 8vw, 110px) 0;
  color: var(--white);
  background: var(--blue);
}

.method-inner {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(36px, 7vw, 82px);
  width: var(--container);
  margin: 0 auto;
}

.method-section .eyebrow,
.method-section h2 {
  color: var(--white);
}

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

.method-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.method-list span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--blue);
  background: var(--white);
  border-radius: 50%;
  font-weight: 700;
}

.method-list p {
  color: rgba(255, 255, 255, 0.82);
}

.zendesk-section {
  padding: clamp(76px, 9vw, 120px) max(20px, calc((100vw - 1160px) / 2));
  color: var(--green-dark);
  background: var(--off-white);
}

.zendesk-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: end;
}

.zendesk-section .eyebrow {
  color: var(--violet);
}

.zendesk-section h2 {
  color: var(--ink);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2.45rem, 5vw, 4.7rem);
  font-weight: 400;
}

.zendesk-top > div > p:not(.eyebrow) {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--green-dark);
  font-size: 1.1rem;
}

.suite-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(20, 53, 60, 0.12);
}

.suite-card img {
  width: 58px;
  margin-bottom: 24px;
}

.suite-card p {
  color: var(--muted);
}

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

.pillars article {
  min-height: 210px;
  padding: 28px;
  color: var(--white);
  background: var(--green-dark);
}

.pillars article:nth-child(2) {
  background: var(--green-mid);
}

.pillars article:nth-child(3) {
  background: var(--violet);
}

.pillars span {
  display: inline-block;
  margin-bottom: 36px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}

.pillars p {
  color: rgba(255, 255, 255, 0.82);
}

.brasil-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 52px;
  align-items: center;
  width: var(--container);
  margin: 0 auto;
  padding: clamp(76px, 9vw, 116px) 0;
}

.brasil-copy p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.08rem;
}

.brasil-address {
  padding: 30px;
  color: var(--white);
  background: var(--green-mid);
}

.brasil-address p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.brasil-address a {
  display: inline-flex;
  margin-top: 22px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(52px, 7vw, 78px) max(20px, calc((100vw - 1160px) / 2));
  color: var(--white);
  background: var(--green-deep);
}

.final-cta .eyebrow,
.final-cta h2 {
  color: var(--green-light);
}

.button.light {
  color: var(--blue);
  background: var(--white);
  box-shadow: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 34px max(20px, calc((100vw - 1160px) / 2));
  color: var(--white);
  background: var(--green-mid);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a {
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 74px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    width: 100%;
    height: 320px;
    opacity: 0.38;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 78%);
  }

  .hero-inner,
  .method-inner,
  .zendesk-top,
  .brasil-section {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 6px;
  }

  .lead-panel {
    max-width: 640px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .partner-badge {
    justify-self: start;
  }

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

  .final-cta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 28px, 1160px);
  }

  .site-header {
    padding: 13px 14px;
  }

  .brand img {
    width: 118px;
  }

  .header-cta {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.86rem;
  }

  .header-cta svg {
    display: none;
  }

  .hero-inner {
    gap: 30px;
    padding: 34px 0 42px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 15vw, 3.7rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .proof-points,
  .form-grid,
  .problem-grid,
  .services-grid,
  .pillars {
    grid-template-columns: 1fr;
  }

  .lead-panel {
    padding: 20px;
  }

  .trust-strip {
    width: 100%;
    border-radius: 0;
  }

  .trust-brand {
    flex-wrap: wrap;
  }

  .section {
    padding: 66px 0;
  }

  .problem-grid article {
    min-height: auto;
  }

  .number {
    margin-bottom: 32px;
  }

  .method-list li {
    grid-template-columns: 46px 1fr;
  }

  .zendesk-section,
  .final-cta,
  .site-footer {
    padding-right: 14px;
    padding-left: 14px;
  }

  .brasil-address {
    padding: 24px;
  }
}
