/* Leanvia — warm editorial redesign (v2) */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Outfit:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
  --lv-paper: #f4ede4;
  --lv-paper-2: #ebe2d6;
  --lv-paper-3: #faf6f0;
  --lv-forest: #143429;
  --lv-forest-mid: #1f4d3d;
  --lv-forest-light: #2d6b52;
  --lv-terracotta: #c9543c;
  --lv-terracotta-dark: #a8432f;
  --lv-gold: #d4a574;
  --lv-ink: #1a1816;
  --lv-muted: #5c534a;
}

html,
body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  background-color: var(--lv-paper);
  color: var(--lv-ink);
}

a {
  text-decoration: none;
}

.u-body {
  background-color: var(--lv-paper);
}

/* -------- Header: deep forest + accent strip -------- */
header.u-header.u-header {
  background: linear-gradient(
    180deg,
    rgba(20, 52, 41, 0.98) 0%,
    rgba(15, 40, 32, 0.96) 100%
  ) !important;
  border-bottom: 3px solid var(--lv-terracotta) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.u-header .u-nav-link,
.u-header .u-hamburger-link {
  color: #f5ebe0 !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
}

.u-header .u-nav-link:hover,
.u-header .u-hamburger-link:hover {
  color: var(--lv-gold) !important;
}

.u-header .u-logo {
  color: #fffdf8 !important;
  background: linear-gradient(
    145deg,
    var(--lv-terracotta) 0%,
    var(--lv-terracotta-dark) 100%
  ) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(201, 84, 60, 0.45) !important;
}

/* -------- Home hero (only index.html / white.html have data-home-page) -------- */
body[data-home-page] section#block-2.u-section-1 {
  position: relative;
  overflow: hidden;
  background-color: var(--lv-forest) !important;
  background-image: linear-gradient(
      155deg,
      #0a1f18 0%,
      #143429 28%,
      #1f4d3d 55%,
      #2a6b52 85%,
      #3d8a6c 100%
    ),
    radial-gradient(
      ellipse 90% 70% at 100% 0%,
      rgba(212, 165, 116, 0.22),
      transparent 55%
    ) !important;
  background-blend-mode: normal, normal;
}

body[data-home-page] section#block-2.u-section-1::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 15% 80%,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 45%
  );
  pointer-events: none;
}

body[data-home-page] section#block-2.u-section-1 .u-sheet-1 {
  position: relative;
  z-index: 1;
}

body[data-home-page] section#block-2.u-section-1 .u-shape-1,
body[data-home-page] section#block-2.u-section-1 .u-shape-2 {
  opacity: 0.35 !important;
  border-width: 3px !important;
  border-color: var(--lv-gold) !important;
}

body[data-home-page] section#block-2.u-section-1 .u-text-1 {
  font-family: "Fraunces", Georgia, serif !important;
  font-weight: 700 !important;
  font-size: clamp(2rem, 4.5vw, 3.75rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
  color: #fffdf8 !important;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.35) !important;
}

body[data-home-page] section#block-2.u-section-1 .u-text-2 {
  color: rgba(255, 253, 248, 0.92) !important;
  font-size: 1.2rem !important;
  line-height: 1.65 !important;
  max-width: 38rem;
  margin-left: auto !important;
  margin-right: auto !important;
}

body[data-home-page] section#block-2.u-section-1 .u-btn-1 {
  background: linear-gradient(
    180deg,
    #e0654a 0%,
    var(--lv-terracotta) 100%
  ) !important;
  border: none !important;
  border-radius: 999px !important;
  padding-left: 2.5rem !important;
  padding-right: 2.5rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: none !important;
  box-shadow: 0 10px 36px rgba(201, 84, 60, 0.5) !important;
}

body[data-home-page] section#block-2.u-section-1 .u-btn-1:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

/* Inner pages & blog: .u-section-1 = paper (no home hero) */
body:not([data-home-page]) section.u-section-1 {
  background-color: var(--lv-paper-3) !important;
  background-image: none !important;
}

body:not([data-home-page]) section.u-section-1 .u-text-1,
body:not([data-home-page]) section.u-section-1 .u-text-2 {
  color: var(--lv-ink) !important;
  text-shadow: none !important;
  font-size: inherit !important;
}

/* -------- Alternating section surfaces -------- */
.u-section-2 {
  background-color: var(--lv-paper-3) !important;
  background-image: none !important;
}

.u-section-3 {
  background: linear-gradient(
    180deg,
    var(--lv-paper-2) 0%,
    var(--lv-paper) 100%
  ) !important;
}

.u-section-4 {
  background-color: var(--lv-paper-3) !important;
}

.u-section-5 {
  background: linear-gradient(
    160deg,
    #fdeee8 0%,
    #f5e6dc 45%,
    var(--lv-paper) 100%
  ) !important;
}

.u-section-6 {
  background-color: var(--lv-paper-2) !important;
}

/* Contact strip: keep photo, warm forest overlay + light text */
.u-section-7 {
  background-image: linear-gradient(
      to bottom,
      rgba(12, 35, 28, 0.88),
      rgba(20, 52, 41, 0.78)
    ),
    url("images/474.jpg") !important;
  background-size: cover !important;
  background-position: 50% 35% !important;
}

.u-section-7 .u-text-1,
.u-section-7 .u-text-2,
.u-section-7 .u-text-3,
.u-section-7 .u-text-4,
.u-section-7 .u-text-5,
.u-section-7 .u-text-6 {
  color: #fff8f0 !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.u-section-7 .u-text-2 a,
.u-section-7 .u-text-4 a,
.u-section-7 .u-text-6 a {
  color: #ffd8a8 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.u-section-7 .u-icon-circle {
  background-color: rgba(212, 165, 116, 0.25) !important;
  border: 2px solid rgba(212, 165, 116, 0.55) !important;
}

/* CTA / form band */
.u-section-8 {
  background: linear-gradient(
    165deg,
    #122922 0%,
    #1a3d32 50%,
    #143429 100%
  ) !important;
}

.u-section-8 .u-text-1,
.u-section-8 .u-text-2,
.u-section-8 .u-text-3 {
  color: #f5ebe0 !important;
}

.u-section-8 .u-line-1 {
  border-color: var(--lv-gold) !important;
  opacity: 0.7;
}

.u-section-8 .u-input {
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 10px !important;
}

/* -------- Override Nicepage palette on section shells -------- */
section.u-section-2.u-palette-4-light-3,
section.u-section-4.u-palette-4-light-3,
section.u-section-6.u-palette-4-light-3 {
  background-color: transparent !important;
}

.u-palette-2-base {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.97),
    rgba(250, 246, 240, 0.95)
  ) !important;
  box-shadow: 0 16px 48px rgba(20, 52, 41, 0.08) !important;
  border-radius: 20px !important;
}

.u-palette-4-base {
  background: #fffdf8 !important;
  box-shadow: 0 12px 40px rgba(26, 24, 22, 0.06) !important;
  border-radius: 20px !important;
  border: 1px solid rgba(212, 165, 116, 0.25) !important;
}

.u-palette-3-dark-2 {
  background: transparent !important;
}

/* -------- Global buttons -------- */
.u-btn,
.u-button-style {
  border-radius: 999px !important;
  border-width: 0 !important;
  background: linear-gradient(
    180deg,
    #e0654a 0%,
    var(--lv-terracotta) 100%
  ) !important;
  color: #fff !important;
  box-shadow: 0 6px 22px rgba(201, 84, 60, 0.35) !important;
  font-weight: 600 !important;
}

.u-btn:hover,
.u-button-style:hover {
  filter: brightness(1.05);
}

.u-image-round,
.u-shape-round {
  border-radius: 20px !important;
  box-shadow: 0 12px 36px rgba(20, 52, 41, 0.12) !important;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", Georgia, serif !important;
  font-weight: 600 !important;
  color: var(--lv-forest) !important;
}

h5,
h6 {
  font-family: "Outfit", sans-serif !important;
}

.u-title {
  font-family: "Fraunces", Georgia, serif !important;
}

.u-section-2 .u-text-1,
.u-section-2 .u-text-2,
.u-section-4 .u-text-1,
.u-section-4 .u-text-2 {
  color: var(--lv-ink) !important;
}

.u-section-5 .u-text-1,
.u-section-5 .u-text-3,
.u-section-5 .u-text-5 {
  color: var(--lv-forest) !important;
}

.u-section-5 .u-text-2,
.u-section-5 .u-text-4,
.u-section-5 .u-text-6 {
  color: var(--lv-muted) !important;
}

/* ===================== Footer ===================== */
.tc-footer {
  background: linear-gradient(180deg, #0c1815 0%, #0a1412 100%);
  border-top: 4px solid var(--lv-terracotta);
  color: #e8dfd4;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.9rem;
}

.tc-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 32px 32px;
}

.tc-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(212, 165, 116, 0.2);
}

.tc-footer__logo {
  display: inline-block;
  font-family: "Fraunces", Georgia, serif !important;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fffdf8;
  background: linear-gradient(
    135deg,
    var(--lv-terracotta) 0%,
    var(--lv-terracotta-dark) 100%
  );
  padding: 10px 22px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.tc-footer__tagline {
  color: #a89b8f;
  line-height: 1.6;
  margin: 0 0 14px 0;
  font-size: 0.875rem;
}

.tc-footer__email {
  display: inline-block;
  color: #e8b896;
  font-weight: 600;
  border-bottom: 1px solid rgba(232, 184, 150, 0.5);
  padding-bottom: 2px;
}

.tc-footer__email:hover {
  color: #f5d4bc;
}

.tc-footer__heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a8f84;
  margin: 0 0 16px 0;
}

.tc-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tc-footer__list li {
  color: #d4c9be;
  line-height: 1.5;
}

.tc-footer__list a {
  color: #d4c9be;
  transition: color 0.2s;
}

.tc-footer__list a:hover {
  color: var(--lv-gold);
}

.tc-footer__list--legal span {
  color: #7a726a;
  font-size: 0.78rem;
  display: block;
  margin-bottom: 2px;
}

.tc-footer__studies {
  padding: 28px 0;
  border-bottom: 1px solid rgba(212, 165, 116, 0.15);
}

.tc-footer__studies-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.tc-footer__studies-list li a {
  color: #8a8178;
  font-size: 0.8rem;
}

.tc-footer__studies-list li a:hover {
  color: var(--lv-gold);
}

.tc-footer__bottom {
  padding-top: 20px;
  text-align: center;
  color: #6a625a;
  font-size: 0.82rem;
}

@media (max-width: 991px) {
  .tc-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .tc-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .tc-footer__inner {
    padding: 40px 20px 24px;
  }

  .tc-footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tc-footer__studies-list {
    flex-direction: column;
    gap: 6px;
  }
}

.u-dialog-section-12 .u-dialog-1 {
  border-radius: 20px !important;
  border: 2px solid rgba(212, 165, 116, 0.4) !important;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.2) !important;
}

.u-dialog-section-12 .u-btn-1 {
  border-radius: 999px !important;
}

/* Legal disclaimer */
.tc-disclaimer-section {
  background: linear-gradient(180deg, #0f1c18 0%, #0a1412 100%);
  border-top: 3px solid var(--lv-terracotta);
  border-bottom: 3px solid var(--lv-terracotta);
  padding: 52px 32px;
}

.tc-disclaimer__badge {
  background: var(--lv-terracotta) !important;
  border-radius: 8px !important;
}

.tc-disclaimer__title {
  color: #f5ebe0 !important;
  font-family: "Fraunces", Georgia, serif !important;
  margin-bottom: 36px;
}

.tc-disclaimer__block {
  border-color: rgba(212, 165, 116, 0.35) !important;
  border-radius: 14px !important;
}

.tc-disclaimer__block h3 {
  color: var(--lv-gold) !important;
}

.tc-disclaimer__block p {
  color: #cbd5e1;
  font-size: 0.85rem;
  line-height: 1.65;
  margin: 0;
}

.tc-disclaimer__block p strong {
  color: #f1f5f9;
}

.tc-disclaimer__legal {
  color: #7a847e !important;
}

@media (max-width: 767px) {
  .tc-disclaimer-section {
    padding: 36px 20px;
  }

  .tc-disclaimer__grid {
    grid-template-columns: 1fr;
  }
}

.tc-disclaimer__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.tc-disclaimer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
  text-align: left;
}

@media (max-width: 767px) {
  .tc-disclaimer__grid {
    grid-template-columns: 1fr;
  }
}
