/* Klaro Group site styles. Values carried over from the Carrd site (Dec 2026). */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --navy: #0A2342;
  --panel: #F8F9FA;
  --teal: #3DDAD7;
  --green: #2E7D6B;
  --slate: #5A6772;
  --pad-x: 6rem;
  --pad-y: 8rem;
  --gap: 2.375rem;
  --width: 55rem;
  --gutter: 2rem;
}

html { font-size: 17pt; -webkit-text-size-adjust: none; scroll-behavior: smooth; }
@media (max-width: 1680px) { html { font-size: 12pt; } }
@media (max-width: 980px)  { html { font-size: 11pt; } }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  word-wrap: break-word;
  line-height: 1;
  background-color: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('../img/bg-pattern.svg') center / 1024px repeat;
}

h1, h2, h3, p, ul, hr, form { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }

/* ---------- Page column ---------- */

.page {
  position: relative;
  z-index: 1;
  width: var(--width);
  max-width: 100%;
  padding: var(--pad-y) var(--pad-x);
  text-align: left;
}
.page > * + * { margin-top: var(--gap); }

/* ---------- Text ---------- */

.eyebrow {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 1.125rem;
  line-height: 1.75;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  color: var(--teal);
}

.title {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 5rem;
  line-height: 1.125;
  color: #FFFFFF;
}

.lead {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 2.125;
  letter-spacing: 0.025rem;
  color: var(--panel);
}
.lead--lg { font-size: 1.375rem; }

.section-title {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 3rem;
  line-height: 1.125;
  color: var(--navy);
}

.contact-title {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 1.125;
  color: #FFFFFF;
  scroll-margin-top: 3rem;
}

.footer-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 2.125;
  letter-spacing: 0.025rem;
  color: var(--slate);
}

/* ---------- Pill link buttons ---------- */

.btn {
  display: inline-block;
  max-width: 100%;
  padding: calc(1.171875rem - 3px) 1.875rem calc(1.171875rem - 3px) calc(0.3rem + 1.875rem);
  border: 3px solid #FFFFFF;
  border-radius: 2.5rem;
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 2rem;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  text-decoration: none;
  color: #000000;
  background-color: #4A6FA5;
  background-image: linear-gradient(45deg, #4A6FA5 0%, rgba(74,111,165,0.012) 100%);
  transition: transform 0.25s ease;
}
.btn:hover { transform: scale(1.06); }
.btn--secondary {
  background-color: var(--slate);
  background-image: linear-gradient(45deg, #5A6772 0%, rgba(90,103,114,0.012) 100%);
}

/* ---------- Full-width light panel ---------- */

.panel {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  display: flex;
  justify-content: center;
  background-color: var(--panel);
}
.page > .panel + * { margin-top: var(--pad-y); }
.page > .panel:last-child { margin-bottom: calc(var(--pad-y) * -1); }

.panel-inner {
  width: 100%;
  max-width: var(--width);
  padding: var(--pad-y) var(--pad-x);
}
.panel-inner > * + * { margin-top: var(--gap); }

/* ---------- Check lists ---------- */

.checklist {
  padding-top: 0.0625rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.5;
  letter-spacing: 0.025rem;
  color: var(--navy);
}
.checklist > li { display: flex; }
.checklist > li + li { margin-top: 1.5rem; }
.checklist strong { font-weight: 700; }
.checklist > li::before {
  content: '';
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  margin-right: 1.625rem;
  background: url('../img/check.svg') center / 55% no-repeat;
}

.divider {
  border: 0;
  height: 1px;
  background-color: var(--green);
}
.panel-inner > .divider { margin-top: 4rem; }
.panel-inner > .divider + * { margin-top: 4rem; }

/* ---------- Service blocks (Finance / GTM) ---------- */

.columns {
  display: flex;
  align-items: flex-start;
  gap: var(--gutter);
}
.columns > div { flex: 1 1 0; min-width: 0; }
.panel-inner.columns > div + div { margin-top: 0; }
.columns > div > * + * { margin-top: var(--gap); }

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 100%;
  background-color: var(--panel);
}
.service-icon svg { width: 60%; height: 60%; fill: var(--teal); }

.service {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 2.125;
  letter-spacing: 0.025rem;
  color: var(--navy);
}
.service strong { font-weight: 700; }

/* ---------- Contact form ---------- */

.contact-form > * + * { margin-top: 1.5rem; }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select {
  display: block;
  width: 100%;
  height: 3.75rem;
  padding: 0 1.3125rem 0 calc(0.025rem + 1.3125rem);
  border: 0;
  border-radius: 2rem;
  outline: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 3.75rem;
  letter-spacing: 0.025rem;
  color: rgba(255,255,255,0.671);
  background-color: rgba(0,0,0,0.22);
}
.contact-form select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 3.5625rem;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='504' height='552' preserveAspectRatio='none' viewBox='0 0 504 552'%3E%3Cpath d='M483.9,210.9L252,442.9L20.1,210.9l67.9-67.9L252,307.1l164.1-164.1L483.9,210.9z' fill='rgba(255,255,255,0.671)' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1rem;
  background-position: calc(100% - 1.3125rem) center;
}
.contact-form select option { background-color: white; color: black; }
.contact-form ::placeholder { color: rgba(255,255,255,0.671); opacity: 0.55; }
.contact-form input:focus,
.contact-form select:focus { box-shadow: 0 0 0 1px #28D496, inset 0 0 0 1px #28D496; }

/* Spam trap: hidden from people, visible to bots. */
.contact-form input.hp { display: none; }

.contact-form button {
  position: relative;
  display: inline-block;
  height: 3.75rem;
  max-width: 100%;
  padding: 0 1.875rem 0 calc(0.3rem + 1.875rem);
  border: 0;
  border-radius: 2rem;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 3.75rem;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--navy);
  background-color: var(--teal);
  background-image: linear-gradient(45deg, #3DDAD7 0%, rgba(61,218,215,0.012) 100%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.contact-form button:hover { transform: scale(1.06); }
.contact-form button:disabled { cursor: default; opacity: 0.35; pointer-events: none; }
.contact-form button.waiting { color: transparent; opacity: 1; }
.contact-form button.waiting::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.75rem;
  height: 1.75rem;
  margin: -0.875rem 0 0 -0.875rem;
  border: 3px solid rgba(10,35,66,0.25);
  border-top-color: var(--navy);
  border-radius: 100%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-message {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #FFB4A8;
}
.form-message:empty { display: none; }
.form-message a { color: #FFFFFF; }

/* ---------- Fade-up on scroll (only when JS is running) ---------- */

.js .reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity 0.75s ease, transform 0.75s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .contact-form button { transition: none; }
}

/* ---------- Plain pages (Policies, Thank you) ---------- */

html.plain { font-size: 20pt; }
@media (max-width: 1680px) { html.plain { font-size: 15pt; } }
@media (max-width: 980px)  { html.plain { font-size: 13pt; } }
@media (max-width: 736px)  { html.plain { font-size: 12pt; } }

.plain body { background-color: #FFFFFF; }
.plain body::before { display: none; }
.plain.thanks body { background-color: var(--panel); }
.plain .page { --pad-x: 4rem; --pad-y: 6rem; --gap: 2rem; --width: 40rem; }

.policy-title, .policy-body, .thanks-text {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 2;
  color: var(--navy);
}
.policy-title { text-align: center; font-weight: 700; text-decoration: underline; }
.policy-body p + p { margin-top: 1rem; }
.policy-body strong { font-weight: 700; }
.policy-body a { color: #0071E3; }
.thanks-text { text-align: center; color: #48484F; }

/* ---------- Smaller screens ---------- */

@media (max-width: 736px) {
  :root { --pad-x: 2rem; --pad-y: 6rem; }
  .plain .page { --pad-x: 2rem; --pad-y: 3.5rem; }
  .eyebrow { letter-spacing: 0.2625rem; }
  .title { font-size: 3.5rem; }
  .section-title, .contact-title { font-size: 2.25rem; }
  .lead--lg { font-size: 1.25rem; }
  .panel-inner > .divider, .panel-inner > .divider + * { margin-top: 2rem; }
  .columns { flex-direction: column; gap: var(--gutter); }
  .columns > div { width: 100%; }
}

@media (max-width: 480px) {
  :root { --gap: 2.078125rem; }
  .btn { display: block; width: 100%; max-width: 32rem; text-align: left; }
  .contact-form button { width: 100%; max-width: 32rem; }
}

@media (max-width: 360px) {
  :root { --pad-x: 1.5rem; --pad-y: 4.5rem; --gap: 1.78125rem; --gutter: 1.5rem; }
  .plain .page { --pad-x: 1.5rem; --pad-y: 2.625rem; --gap: 1.5rem; }
}
