/* relioform.com.ro — content cluster (SEOX-2529): shared header/footer + info pages */

/* ---------- shared header ---------- */
.cl-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 8px 16px;
  background: #fff;
  color: var(--title-color);
}
.cl-skip:focus { left: 8px; top: 8px; }
main:focus { outline: none; }

.cl-header__logo-link { display: flex; align-items: center; flex-shrink: 0; }
.cl-header .header__logo { display: block; width: auto; height: 32px; }
.cl-header .header__nav-container { gap: 40px; }
.cl-burger { border: 0; background: none; }
.cl-burger .header__hamburger-container { display: block; }
.cl-burger .header__hamburger-item { display: block; left: 0; }

.cl-nav-drop { position: relative; }
.cl-nav-drop__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--ff-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: var(--title-color);
}
.cl-nav-drop__chev { display: block; width: 11.5px; height: 6.5px; transition: transform 0.3s ease; }
.cl-nav-drop.is-open .cl-nav-drop__chev { transform: rotate(180deg); }
.cl-nav-drop__list {
  position: absolute;
  top: calc(100% + 16px);
  left: -24px;
  z-index: 130;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 260px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 24px 0 rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.cl-nav-drop__list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}
.cl-nav-drop.is-open .cl-nav-drop__list { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 1201px) {
  .cl-nav-drop:hover .cl-nav-drop__list { opacity: 1; visibility: visible; transform: none; }
  .cl-nav-drop:hover .cl-nav-drop__chev { transform: rotate(180deg); }
}
.cl-nav-drop__link,
.cl-nav-link {
  font-family: var(--ff-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: var(--title-color);
  text-decoration: none;
  white-space: nowrap;
}
.cl-nav-drop__link:hover,
.cl-nav-link:hover,
.cl-nav-link.is-active { color: var(--primary-color); }
.cl-nav-link { position: relative; }
.cl-nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--primary-color);
}

@media (max-width: 1200px) {
  .cl-header .container { padding-inline: 16px; }
  .cl-header .header__container { padding-block: 12px; }
  .cl-header .header__logo { height: 26px; max-height: none; }
  .cl-header .header__buttons-container { gap: 12px; }
  .cl-header .cl-header__cta {
    width: auto;
    max-width: none;
    align-self: auto;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 16px;
    line-height: 20px;
    white-space: nowrap;
  }
  .cl-header .cl-burger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: -6px;
    padding: 0;
  }
  .cl-header .top-popup__close { min-width: 40px; min-height: 40px; margin: -7px -8px; }
  .cl-header .header__hamburger-container { width: 20px; height: 16px; }
  .cl-header .header__hamburger-item { background-color: var(--title-color); }

  .cl-header .header__links-container {
    top: 100%;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    min-height: 100dvh;
    padding: 8px 16px 24px;
    border-bottom: 0;
    box-shadow: none;
  }
  .cl-header.active .header__links-container { width: 100%; }
  .cl-header .header__nav-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .cl-nav-drop__btn,
  .cl-nav-link {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid #e5e5e1;
    font-family: var(--ff-title);
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: -0.44px;
    text-align: left;
  }
  .cl-nav-drop__btn { justify-content: space-between; }
  .cl-nav-drop__chev { width: 14px; height: 8px; }
  .cl-nav-drop__list,
  .cl-nav-drop.is-open .cl-nav-drop__list {
    position: static;
    display: none;
    min-width: 0;
    padding: 16px;
    margin-bottom: 8px;
    border-radius: 16px;
    background: var(--card-color);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .cl-nav-drop.is-open .cl-nav-drop__list { display: flex; }
  .cl-nav-drop__list::before { display: none; }
  .cl-nav-drop__link { font-size: 18px; font-weight: 400; line-height: 26px; white-space: normal; }
  .cl-nav-link.is-active::after { display: none; }
}

@media (max-width: 359.98px) {
  .cl-header .header__logo { height: 22px; }
  .cl-header .header__buttons-container { gap: 8px; }
  .cl-header .cl-header__cta { padding: 9px 10px; font-size: 14px; }
}

@media (max-width: 767.98px) {
  .cl-header .header__top.active { padding-block: 8px; }
  .cl-header .header__top p,
  .cl-header .header__top p > a { font-size: 14px; line-height: 18px; }
}

/* ---------- shared footer ---------- */
.cl-footer {
  padding: 64px 0 32px;
  border-top: 1px solid #e5e5e1;
  background: #fff;
  text-align: left;
}
.cl-footer .container { display: flex; flex-direction: column; gap: 32px; }
.cl-footer__top { display: flex; align-items: flex-start; gap: 48px; }
.cl-footer__brand { flex: 0 0 384px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cl-footer__logo { display: block; width: auto; height: 32px; }
.cl-footer__email {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: var(--title-color);
  text-decoration: none;
}
.cl-footer__email img { display: block; width: 18px; height: 14px; }
.cl-footer__nav { flex: 1 1 0; display: flex; gap: 48px; min-width: 0; }
.cl-footer ul { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.cl-footer li { font-size: 16px; line-height: 20px; }
.cl-footer ul a {
  font-family: var(--ff-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: var(--title-color);
  text-decoration: none;
  white-space: nowrap;
}
.cl-footer ul a:hover,
.cl-footer ul a.is-active { color: var(--primary-color); }
.cl-footer__divider { height: 1px; margin: 0; border: 0; background: #e5e5e1; }
.cl-footer .cl-footer__disclaimer { font-size: 14px; line-height: 22px; color: var(--text-card-color); }
.cl-footer .cl-footer__copy { font-size: 16px; line-height: 20px; color: var(--title-color); }
.cl-footer .cl-footer__copy span { color: inherit; }

@media (max-width: 1199.98px) {
  .cl-footer__top { flex-wrap: wrap; gap: 32px 48px; }
  .cl-footer__brand { flex: 1 1 100%; }
}
@media (max-width: 767.98px) {
  .cl-footer { padding: 32px 0 24px; }
  .cl-footer .container { gap: 24px; }
  .cl-footer__top { flex-direction: column; gap: 24px; }
  .cl-footer__brand { flex: none; gap: 16px; }
  .cl-footer__nav { flex: none; flex-direction: column; gap: 12px; }
  .cl-footer__nav ul { gap: 12px; }
  .cl-footer .cl-footer__legal { flex-direction: row; flex-wrap: wrap; gap: 12px 24px; }
  .cl-footer .cl-footer__disclaimer { line-height: 20px; }
  .cl-footer .cl-footer__copy { font-size: 14px; }
}

/* ---------- info page: /ce-influenteaza-metabolismul/ ---------- */
.mp-hero {
  padding: 120px 0;
  background: url("../images/metabolism-fundal-hero.webp") center / cover no-repeat;
}
.mp-hero__inner { display: flex; align-items: center; gap: 24px; }
.mp-hero__copy { flex: 0 0 588px; max-width: 588px; display: flex; flex-direction: column; gap: 24px; }
.mp-hero__img {
  display: block;
  flex: 0 0 auto;
  width: 486px;
  height: 460px;
  border-radius: 16px;
  object-fit: cover;
  object-position: center bottom;
}

.mp-sec { padding: 50px 0; }
.mp-sec > .container { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.mp-sec > .container > h2 { width: 100%; text-align: center; }
.mp-b2 { padding-top: 100px; }

.mp-grid { display: grid; gap: 24px; width: 100%; }
.mp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mp-card { display: flex; flex-direction: column; gap: 24px; padding: 24px; border-radius: 16px; }
.mp-card--peach { background: var(--card-color); }
.mp-card--pink { gap: 16px; background: var(--card-color-2); }
.mp-card__icon { display: block; width: 48px; height: 48px; }
.mp-card p { font-size: 18px; line-height: 26px; color: var(--text-card-color); }
.mp-card h3,
.mp-callout h3 {
  color: var(--title-color);
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.48px;
}

.mp-table-wrap {
  width: 790px;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid #e5e5e1;
  border-radius: 16px;
  background: #fff;
}
.mp-table { width: 100%; border-collapse: collapse; font-size: 18px; line-height: 26px; }
.mp-table th,
.mp-table td {
  padding: 20px 12px;
  border-bottom: 1px solid #e5e5e1;
  text-align: left;
  vertical-align: top;
}
.mp-table th:first-child { width: 296px; padding-left: 24px; }
.mp-table tr > :last-child { padding-right: 24px; }
.mp-table tbody tr:last-child > * { border-bottom: 0; }
.mp-table thead th {
  background: var(--card-color);
  font-family: var(--ff-title);
  font-weight: 700;
  letter-spacing: -0.36px;
  color: var(--title-color);
}
.mp-table tbody th { font-family: var(--ff-text); font-weight: 700; color: var(--title-color); }
.mp-table td { font-family: var(--ff-text); font-weight: 400; color: var(--text-card-color); }

.mp-b5 {
  padding: 50px 0 100px;
  background: linear-gradient(179deg, var(--body-background) 1.73%, var(--card-color-2) 98.27%);
}
.mp-media { display: flex; align-items: center; gap: 24px; width: 100%; }
.mp-media__img {
  display: block;
  flex: 0 0 588px;
  width: 588px;
  height: 444px;
  border-radius: 16px;
  object-fit: cover;
}
.mp-media__card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  border-radius: 16px;
  background: #fff;
}
.mp-media .mp-media__lead { font-size: 18px; line-height: 26px; font-weight: 700; color: var(--title-color); }
.mp-list { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; list-style: none; }
.mp-list li { position: relative; padding-left: 20px; font-size: 18px; line-height: 26px; color: var(--title-color); }
.mp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
}

.mp-b6 { padding: 100px 0; }
.mp-b6__head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.mp-b6__head p { max-width: 794px; }
.mp-callout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 790px;
  max-width: 100%;
  padding: 32px;
  border: 1px solid var(--primary-color);
  border-radius: 16px;
  background: var(--card-color-2);
}
.mp-callout p { font-size: 18px; line-height: 26px; color: var(--text-card-color); }
.mp-callout .mp-callout__note { position: relative; padding-left: 20px; font-weight: 700; color: var(--title-color); }
.mp-callout__note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 2px;
  background: var(--primary-color);
}

.mp-b7 {
  padding: 100px 0;
  background: url("../images/metabolism-fundal-rezumat.webp") center / cover no-repeat;
}
.mp-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 790px;
  max-width: 100%;
  padding: 48px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}
.mp-summary p { font-size: 18px; line-height: 26px; color: var(--text-card-color); }
.mp-link { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; }
.mp-link p { max-width: 794px; text-align: center; color: var(--title-color); }
.mp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 270px;
  height: 56px;
  padding: 0 28px;
  border-radius: 16px;
  background: #eb746a;
  color: #fff;
  font-family: var(--ff-text);
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.mp-btn:hover { transform: scale(1.05); }

/* tablet / small desktop */
@media (max-width: 1199.98px) {
  .cl-page h1,
  .cl-page h2 { font-size: 40px; line-height: 48px; letter-spacing: -0.8px; }
  .mp-hero { padding: 80px 0; }
  .mp-hero__copy { flex: 1 1 0; max-width: none; min-width: 0; }
  .mp-hero__img { flex: 0 0 42%; width: 42%; height: auto; aspect-ratio: 486 / 460; }
  .mp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-media__img { flex: 0 0 48%; width: 48%; height: auto; aspect-ratio: 588 / 444; }
  .mp-b2 { padding-top: 80px; }
  .mp-b5 { padding-bottom: 80px; }
  .mp-b6,
  .mp-b7 { padding: 80px 0; }
}

@media (max-width: 991.98px) {
  .mp-hero__inner { flex-direction: column; align-items: stretch; }
  .mp-hero__img { flex: none; width: 100%; max-width: 486px; align-self: center; }
  .mp-media { flex-direction: column; align-items: stretch; }
  .mp-media__img { flex: none; width: 100%; max-width: 588px; align-self: center; }
}

/* mobile (Figma: 360) */
@media (max-width: 767.98px) {
  .cl-page h1,
  .cl-page h2 { font-size: 32px; line-height: 40px; letter-spacing: -0.64px; }
  .mp-hero { padding: 32px 0; background-image: url("../images/metabolism-fundal-hero-mob.webp"); }
  .mp-hero__inner { gap: 24px; }
  .mp-hero__img { max-width: 480px; height: 300px; aspect-ratio: auto; object-position: center 60%; }

  .mp-sec { padding: 16px 0; }
  .mp-sec > .container { align-items: stretch; gap: 24px; }
  .mp-sec > .container > h2 { text-align: left; }
  .mp-b2 { padding-top: 32px; }
  .mp-grid--2,
  .mp-grid--4 { grid-template-columns: 1fr; gap: 16px; }
  .mp-card { padding: 16px; gap: 16px; }
  .mp-card--pink { gap: 8px; }
  .mp-card h3,
  .mp-callout h3 { font-size: 22px; line-height: 30px; letter-spacing: -0.44px; }

  .mp-table th,
  .mp-table td { padding: 16px 8px; }
  .mp-table th:first-child { width: 136px; padding-left: 16px; }
  .mp-table tr > :last-child { padding-right: 16px; }
  .mp-table tbody th,
  .mp-table td { font-size: 16px; line-height: 20px; }
  .mp-table tbody th { font-weight: 600; }

  .mp-b5 { padding: 16px 0 32px; }
  .mp-media__img { max-width: 420px; height: 220px; aspect-ratio: auto; }
  .mp-media__card { padding: 16px; gap: 16px; }
  .mp-list { gap: 16px; }

  .mp-b6 { padding: 32px 0; }
  .mp-b6__head { align-items: stretch; text-align: left; }
  .mp-callout { padding: 16px; }
  .mp-callout .mp-callout__note { padding-left: 16px; }

  .mp-b7 { padding: 32px 0; background-image: url("../images/metabolism-fundal-rezumat-mob.webp"); }
  .mp-summary { padding: 16px; text-align: left; }
  .mp-link { align-items: stretch; gap: 16px; }
  .mp-link p { text-align: left; }
  .mp-btn { width: 100%; max-width: none; }
}
