/* Fidelum Group landing — matched to Figma Desktop 115:1184 */

:root {
  --fg-green: #085b4d;
  --fg-cream: #f7f3e2;
  --fg-cream-bar: #e0dccb;
  --fg-partners-tab: #faf8ee;
  --fg-partners-text: #796f6d;
  --fg-health: #1f3661;
  --fg-ink: #000;
  --fg-heading: #262626;
  --fg-muted-border: #a1a1a1;
  --fg-light-border: #d4d4d4;
  --fg-max: 1152px;
  --fg-font: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fg-font-tabs: "Inter", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.fg-landing {
  margin: 0;
  font-family: var(--fg-font);
  color: var(--fg-ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  top: 0 !important;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fg-landing a {
  color: inherit;
  text-decoration: none;
}

.fg-landing img {
  max-width: 100%;
  height: auto;
  display: block;
}

.fg-wrap {
  width: min(100%, var(--fg-max));
  margin-inline: auto;
  padding-inline: 24px;
}

/* Org tabs */
.fg-org-tabs {
  background: #9a988d;
}

.fg-org-tabs__rail {
  background: var(--fg-cream-bar);
  padding-top: 16px;
}

.fg-org-tabs__inner {
  width: min(100%, var(--fg-max));
  margin-inline: auto;
  padding-inline: 20px;
  display: flex;
  align-items: flex-end;
}

.fg-org-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 200px;
  height: 41px;
  padding: 0 20px;
  border-radius: 12px 12px 0 0;
  font-family: var(--fg-font-tabs);
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}

.fg-org-tab span {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.fg-org-tab img {
  width: 22px;
  height: 32px;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

body.fg-landing a.fg-org-tab--group {
  background: var(--fg-green);
  color: #ffffff !important;
}

body.fg-landing a.fg-org-tab--group span {
  color: #ffffff !important;
}

body.fg-landing a.fg-org-tab--partners {
  background: var(--fg-partners-tab);
  color: #796f6d !important;
}

body.fg-landing a.fg-org-tab--partners span {
  color: #796f6d !important;
}

.fg-org-tab--partners img {
  width: 22px;
  height: 32px;
}

body.fg-landing a.fg-org-tab--health {
  background: var(--fg-health);
  color: #ffffff !important;
}

body.fg-landing a.fg-org-tab--health span {
  color: #ffffff !important;
}

/* Header */
.fg-header {
  background: var(--fg-green);
  color: #fff;
}

.fg-header__inner {
  width: min(100%, var(--fg-max));
  margin-inline: auto;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.fg-logo {
  display: block;
  line-height: 0;
}

.fg-logo img {
  width: 274px;
  max-width: min(274px, 70vw);
  height: auto;
}

.fg-header__actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.fg-contact-link {
  font-family: var(--fg-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.fg-contact-link:hover {
  opacity: 0.88;
}

/* Google Translate — same plugin widget as fidelum.com, styled to Figma */
.fg-lang {
  position: relative;
  line-height: 0;
}

.fg-lang .goog-te-gadget {
  font-size: 0 !important;
  color: transparent !important;
}

.fg-lang .goog-te-gadget > span,
.fg-lang .goog-te-gadget .goog-te-gadget-simple,
.fg-lang img {
  display: none !important;
}

.fg-lang select.goog-te-combo,
.fg-lang .goog-te-combo {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: inline-block;
  min-width: 140px;
  max-width: 180px;
  height: auto;
  margin: 0 !important;
  padding: 8px 28px 8px 12px !important;
  background-color: #fff !important;
  background-image: linear-gradient(45deg, transparent 50%, #333 50%),
    linear-gradient(135deg, #333 50%, transparent 50%) !important;
  background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55% !important;
  background-size: 5px 5px, 5px 5px !important;
  background-repeat: no-repeat !important;
  color: #171717 !important;
  border: 1px solid var(--fg-muted-border) !important;
  border-radius: 0 !important;
  font-family: var(--fg-font) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 16px !important;
  cursor: pointer;
}

/* Hero */
.fg-hero {
  position: relative;
  color: #fff;
  isolation: isolate;
  border-bottom: 1px solid #737373;
  overflow: hidden;
}

.fg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(8, 91, 77, 0.8), rgba(8, 91, 77, 0.8)),
    url("assets/hero-bg.jpg") center / cover no-repeat;
  z-index: -1;
}

.fg-hero__inner {
  width: min(100%, var(--fg-max));
  margin-inline: auto;
  padding: 80px 24px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 725px;
  margin-left: max(24px, calc((100% - var(--fg-max)) / 2 + 24px));
  margin-right: auto;
}

.fg-hero h1 {
  margin: 20px 0 0;
  font-family: var(--fg-font);
  font-size: 48px;
  font-weight: 700;
  line-height: 60px;
  color: #fff !important;
}

.fg-hero p {
  margin: 24px 0 0;
  font-family: var(--fg-font);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  color: #f5f5f5 !important;
  max-width: 725px;
}

.fg-hero p + p {
  margin-top: 20px;
}

/* Sections */
.fg-section {
  padding: 48px 0;
  background: #fff;
}

.fg-section--cream {
  background: var(--fg-cream);
}

.fg-section--cream-top-rule {
  border-top: 1px solid var(--fg-light-border);
}

.fg-section h2 {
  margin: 8px 0 0;
  font-family: var(--fg-font);
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  color: var(--fg-green) !important;
}

.fg-section__lead,
.fg-insights p {
  margin: 12px 0 0;
  font-family: var(--fg-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  color: #000;
}

.fg-insights p {
  margin-top: 20px;
}

/* Business cards */
.fg-biz-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.fg-biz-card {
  background: #fff;
  border: 3px solid var(--fg-green);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fg-biz-card h3 {
  margin: 0;
  color: var(--fg-green) !important;
  font-family: var(--fg-font);
  font-size: 30px;
  font-weight: 700;
  line-height: 30px;
}

.fg-biz-card p {
  margin: 12px 0;
  color: #000;
  font-family: var(--fg-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  max-width: 440px;
  flex: 1;
}

/* Buttons */
.fg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 12px 20px;
  background: var(--fg-green);
  color: #fff !important;
  border: 1px solid #404040;
  border-radius: 4px;
  font-family: var(--fg-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.fg-btn:hover {
  background: #064a3f;
  transform: translateY(-1px);
}

.fg-btn--semibold {
  font-weight: 600;
}

.fg-btn-stack {
  display: grid;
  gap: 12px;
  justify-items: center;
}

/* Books */
.fg-books-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.fg-book-card {
  background: #fff;
  border: 1px solid var(--fg-muted-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.fg-book-card__media {
  height: 197px;
  border-bottom: 1px solid var(--fg-light-border);
  overflow: hidden;
  background: #ececec;
  position: relative;
}

.fg-book-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.fg-book-card__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  text-align: center;
}

.fg-book-card__body h3 {
  margin: 0;
  font-family: var(--fg-font);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: var(--fg-heading) !important;
}

.fg-book-card__body > .fg-btn,
.fg-book-card__body > .fg-btn-stack {
  margin-top: auto;
}

/* Connect */
.fg-connect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 8px;
}

.fg-connect h2 {
  margin: 0;
  font-family: var(--fg-font);
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
  color: #000 !important;
}

.fg-connect p {
  margin: 12px 0 0;
  max-width: 608px;
  font-family: var(--fg-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #000;
}

.fg-connect__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  flex-shrink: 0;
}

/* Footer */
.fg-footer {
  background: var(--fg-cream-bar);
  padding: 24px 0;
  font-family: var(--fg-font);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: #000;
}

.fg-footer__note {
  margin: 0 0 12px;
}

.fg-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 31px;
  align-items: baseline;
}

.fg-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
}

.fg-footer__links a:hover {
  text-decoration: underline;
}

.fg-footer__sep {
  opacity: 0.7;
}

.fg-footer__copy {
  margin: 0;
  white-space: nowrap;
}

/* Hide theme chrome / third-party overlays */
body.fg-landing .fl-builder-content,
body.fg-landing #fl-header,
body.fg-landing .fl-page-nav-wrap,
body.fg-landing .fl-page-bar,
body.fg-landing .fl-page-footer-wrap,
body.fg-landing header.fl-theme-builder-header,
body.fg-landing footer.fl-theme-builder-footer,
body.fg-landing .grecaptcha-badge,
body.fg-landing iframe[src*="recaptcha"],
body.fg-landing .g-recaptcha,
body.fg-landing .goog-te-banner-frame,
body.fg-landing .goog-te-balloon-frame,
body.fg-landing #goog-gt-tt,
body.fg-landing #glt-translate-trigger,
body.fg-landing #glt-toolbar,
body.fg-landing iframe.skiptranslate {
  display: none !important;
}

/* Keep page flush; Google Translate often pushes body down */
body.fg-landing.translated-ltr,
body.fg-landing.translated-rtl {
  top: 0 !important;
}

/* Responsive — desktop type stays fixed; scale only below breakpoint */
@media (max-width: 960px) {
  .fg-biz-grid,
  .fg-books-grid {
    grid-template-columns: 1fr;
  }

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

  .fg-connect__actions {
    justify-content: flex-start;
  }

  .fg-hero__inner {
    margin-left: auto;
    margin-right: auto;
    max-width: none;
    min-height: 0;
    padding: 56px 24px;
  }

  .fg-hero h1 {
    font-size: 40px;
    line-height: 50px;
  }

  .fg-hero p {
    font-size: 18px;
    line-height: 28px;
  }

  .fg-section h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .fg-biz-card h3,
  .fg-connect h2 {
    font-size: 26px;
    line-height: 32px;
  }

  .fg-book-card__body h3 {
    font-size: 22px;
    line-height: 28px;
  }
}

@media (max-width: 720px) {
  .fg-org-tabs__inner {
    padding-inline: 0;
    width: 100%;
  }

  .fg-org-tab {
    flex: 1;
    width: auto;
    min-width: 0;
    padding: 0 8px;
    font-size: 10px;
    letter-spacing: 0.3px;
    gap: 4px;
  }

  .fg-org-tab img {
    width: 14px;
    height: 20px;
  }

  .fg-header__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .fg-header__actions {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }

  .fg-contact-link {
    font-size: 16px;
    line-height: 16px;
  }

  .fg-logo img {
    width: 220px;
  }

  .fg-hero h1 {
    font-size: 32px;
    line-height: 40px;
  }

  .fg-hero p {
    font-size: 16px;
    line-height: 24px;
  }

  .fg-section h2 {
    font-size: 28px;
    line-height: 34px;
  }

  .fg-section__lead,
  .fg-insights p,
  .fg-biz-card p,
  .fg-connect p {
    font-size: 16px;
    line-height: 24px;
  }

  .fg-biz-card h3,
  .fg-connect h2 {
    font-size: 24px;
    line-height: 28px;
  }

  .fg-book-card__body h3 {
    font-size: 20px;
    line-height: 28px;
  }
}
