:root {
  --vone-home-body-size: 14px;
  --vone-home-line-height: 1.6;
  --vone-home-h1: clamp(24px, 3.8vw, 48px);
  --vone-home-h2: clamp(22px, 3.2vw, 36px);
  --vone-home-h3: clamp(18px, 2.4vw, 26px);
  --vone-home-h4: clamp(16px, 2vw, 22px);
}

/* Shared text scale: keep lac pages aligned with the current Home typography direction */
body.lac-page .main h1,
body.lac-page .main h2,
body.lac-page .main h3,
body.lac-page .main h4,
body.lac-page .main h5,
body.lac-page .main h6 {
  letter-spacing: -0.01em;
  font-weight: 600;
}

body.lac-page .main h1 {
  font-size: var(--vone-home-h1) !important;
  line-height: 1.06 !important;
}

body.lac-page .main h2 {
  font-size: var(--vone-home-h2) !important;
  line-height: 1.08 !important;
}

body.lac-page .main h3 {
  font-size: var(--vone-home-h3) !important;
  line-height: 1.12 !important;
}

body.lac-page .main h4,
body.lac-page .main h5,
body.lac-page .main h6 {
  font-size: var(--vone-home-h4) !important;
  line-height: 1.2 !important;
}

body.lac-page .main p,
body.lac-page .main li,
body.lac-page .main span,
body.lac-page .main .text-md,
body.lac-page .main .custom-text-color-1,
body.lac-page .main .custom-text-color-4 {
  font-size: var(--vone-home-body-size) !important;
  line-height: var(--vone-home-line-height) !important;
}

body.lac-page .main .section.section-title h1,
body.lac-page .main .tp-caption-main-custom {
  font-size: clamp(28px, 4.6vw, 52px) !important;
  line-height: 1.02 !important;
  font-weight: 600 !important;
  letter-spacing: -0.012em !important;
}

/* Contact page typography reduction to match Home rhythm */
body.lac-page.contact-page .contactv2-title {
  font-size: clamp(15px, 2vw, 24px) !important;
  line-height: 1.14 !important;
  font-weight: 500 !important;
  letter-spacing: -0.004em !important;
}

body.lac-page.contact-page .contactv2-subtitle,
body.lac-page.contact-page .contactv2-form-subtitle,
body.lac-page.contact-page .contactv2-card-note {
  font-size: 12px !important;
  line-height: 1.52 !important;
}

body.lac-page.contact-page .contactv2-form-title {
  font-size: clamp(14px, 1.8vw, 22px) !important;
  line-height: 1.15 !important;
  font-weight: 500 !important;
  letter-spacing: -0.004em !important;
}

body.lac-page.contact-page .contactv2-eyebrow,
body.lac-page.contact-page .contactv2-form-kicker,
body.lac-page.contact-page .contactv2-card-label {
  font-size: 9px !important;
  letter-spacing: 0.09em !important;
}

body.lac-page.contact-page .contactv2-card-value,
body.lac-page.contact-page .contactv2-card-value a,
body.lac-page.contact-page .contactv2-form-panel .form-control {
  font-size: 13px !important;
  line-height: 1.45 !important;
}

/* Force the same footer language as Home (full-width, minimal, no card shell look) */
body.lac-page .homev6-footer {
  margin-top: 96px;
  padding: 0 0 8px;
  background: #f3f7fc;
  border-top: 1px solid rgba(16, 39, 68, 0.12);
}

body.lac-page .homev6-footer-shell {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 30px 0 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.lac-page .homev6-footer-shell::before,
body.lac-page .homev6-footer-shell::after {
  display: none;
}

body.lac-page .homev6-footer-hero {
  margin: 0;
  padding: 0;
}

body.lac-page .homev6-footer-kicker {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #56708f !important;
  border: 0;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  text-transform: uppercase;
}

body.lac-page .homev6-footer h2 {
  margin: 6px 0 6px;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.008em;
  color: #102743;
  text-transform: none;
}

body.lac-page .homev6-footer-lead,
body.lac-page #footer-subtitle {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #637a97 !important;
}

body.lac-page #footer-subtitle {
  margin-top: 4px;
}

body.lac-page .homev6-footer-grid {
  margin-top: 16px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(16, 39, 68, 0.1);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.lac-page .homev6-footer-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.lac-page .homev6-footer-card + .homev6-footer-card {
  border-left: 1px solid rgba(16, 39, 68, 0.1);
  padding-left: 18px;
}

body.lac-page .homev6-footer-label {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #56708f !important;
  text-transform: uppercase;
}

body.lac-page .homev6-footer-phone,
body.lac-page .homev6-footer-mail {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  color: #102743 !important;
}

body.lac-page .homev6-footer-phone i,
body.lac-page .homev6-footer-mail i {
  display: none;
}

body.lac-page .homev6-footer-social-icons {
  gap: 8px;
}

body.lac-page .homev6-footer-social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(150, 186, 230, 0.56);
  background: #fff;
  color: #24486f;
  font-size: 15px;
}

body.lac-page .homev6-footer-social-icons a:hover {
  border-color: rgba(73, 136, 211, 0.54);
  background: #edf4ff;
  color: #183a62;
}

body.lac-page .homev6-footer-bottom {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(16, 39, 68, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.lac-page .homev6-footer-copy {
  margin: 0;
  color: #5f7693 !important;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 991px) {
  body.lac-page .main .section.section-title h1,
  body.lac-page .main .tp-caption-main-custom {
    font-size: clamp(24px, 7vw, 38px) !important;
  }

  body.lac-page .main p,
  body.lac-page .main li,
  body.lac-page .main span,
  body.lac-page .main .text-md,
  body.lac-page .main .custom-text-color-1,
  body.lac-page .main .custom-text-color-4 {
    font-size: 13px !important;
  }

  body.lac-page.contact-page .contactv2-title {
    font-size: clamp(14px, 5.6vw, 20px) !important;
  }

  body.lac-page.contact-page .contactv2-form-title {
    font-size: clamp(13px, 4.8vw, 18px) !important;
  }

  body.lac-page.contact-page .contactv2-subtitle,
  body.lac-page.contact-page .contactv2-form-subtitle,
  body.lac-page.contact-page .contactv2-card-note,
  body.lac-page.contact-page .contactv2-card-value,
  body.lac-page.contact-page .contactv2-card-value a,
  body.lac-page.contact-page .contactv2-form-panel .form-control {
    font-size: 12px !important;
  }

  body.lac-page .homev6-footer {
    margin-top: 70px;
  }

  body.lac-page .homev6-footer-shell {
    width: calc(100% - 24px);
    padding: 22px 0 14px;
  }

  body.lac-page .homev6-footer h2 {
    font-size: 24px;
  }

  body.lac-page .homev6-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  body.lac-page .homev6-footer-card + .homev6-footer-card {
    border-left: 0;
    border-top: 1px solid rgba(16, 39, 68, 0.1);
    padding-left: 0;
    padding-top: 10px;
  }

  body.lac-page .homev6-footer-phone,
  body.lac-page .homev6-footer-mail {
    font-size: 14px;
  }

  body.lac-page .homev6-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
