@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap");

:root {
  /* Culori */
  --color-text: #141414;
  --color-text-white: #fff;
  --color-primary: #1E388D;
  --color-accent: #f5f5f5;
  --color-muted: #868686;
  --color-report: #f88e16;
  --color-text-grey: #4e4e56;
  --color-text-footer: #e0e0e0;
  --color-line: #c7c7c7;
  --color-label: #E3EAFF;
  --color-header: linear-gradient(180deg, rgba(238, 0, 146, 0.08) 87.04%, rgba(255, 255, 255, 0.00) 104.73%);




  /* Font Sizes */
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-20: 20px;
  --fs-25: 25px;
  --fs-31: 31px;
  --fs-39: 39px;
  --fs-49: 49px;

  /* Font Weights */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Gap / Spacing System */
  --gap-4: 4px;
  --gap-8: 8px;
  --gap-10: 10px;
  --gap-12: 12px;
  --gap-16: 16px;
  --gap-20: 20px;
  --gap-24: 24px;
  --gap-28: 28px;
  --gap-32: 32px;
  --gap-40: 40px;
  --gap-48: 48px;
  --gap-50: 50px;
  --gap-56: 56px;
  --gap-60: 60px;
  --gap-64: 64px;
  --gap-80: 80px;
  --gap-84: 84px;
  --gap-90: 90px;
  --gap-112: 112px;
}

/* Font Sizes */
.fs-16 {
  font-size: var(--fs-16);
}

.fs-18 {
  font-size: var(--fs-18);
}

.fs-20 {
  font-size: var(--fs-20);
}

.fs-25 {
  font-size: var(--fs-25);
}

.fs-31 {
  font-size: var(--fs-31);
}

.fs-39 {
  font-size: var(--fs-39);
}

.fs-49 {
  font-size: var(--fs-49);
}

/* Font Weights */
.fw-regular {
  font-weight: var(--fw-regular);
}

.fw-medium {
  font-weight: var(--fw-medium);
}

.fw-semibold {
  font-weight: var(--fw-semibold);
}

.fw-bold {
  font-weight: var(--fw-bold);
}

/* Text Colors */
.text-default {
  color: var(--color-text);
}

.text-white {
  color: var(--color-text-white);
}

.text-primary {
  color: var(--color-primary);
}

.text-accent {
  color: var(--color-accent);
}

.text-muted {
  color: var(--color-muted);
}

.text-report {
  color: var(--color-report);
}

.text-footer {
  color: var(--color-text-footer);
}

.gap-4 {
  gap: var(--gap-4);
}

.gap-8 {
  gap: var(--gap-8);
}

.gap-10 {
  gap: var(--gap-10);
}

.gap-12 {
  gap: var(--gap-12);
}

.gap-16 {
  gap: var(--gap-16);
}

.gap-20 {
  gap: var(--gap-20);
}

.gap-24 {
  gap: var(--gap-24);
}

.gap-28 {
  gap: var(--gap-28);
}

.gap-32 {
  gap: var(--gap-32);
}

.gap-40 {
  gap: var(--gap-40);
}

.gap-48 {
  gap: var(--gap-48);
}

.gap-56 {
  gap: var(--gap-56);
}

.gap-60 {
  gap: var(--gap-60);
}

.gap-64 {
  gap: var(--gap-64);
}

.gap-80 {
  gap: var(--gap-80);
}

.gap-90 {
  gap: var(--gap-90);
}

.mt-56 {
  margin-top: var(--gap-56);
}

.mt-84 {
  margin-top: 84px;
}

.mt-108 {
  margin-top: 108px;
}

html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: "Roboto", sans-serif;
}

header {
  width: 100%;
  box-sizing: border-box;
  padding-top: 24px;
}

main {
  width: 100%;
}

footer {
  position: relative;
  display: flex;
  width: 100%;
  background-color: var(--color-text);
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav li {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

.header-container {
  margin: 0 auto;
  max-width: 1384px;
}

.header-nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.navigation {
  display: flex;
  flex-direction: row;
  gap: var(--gap-48);
}

.navigation a.active,
.desktop-nav a.active {
  color: var(--color-primary);
  font-weight: var(--fw-medium);
}

.share-btn {
  display: flex;
  padding: 12px 28px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 40px;
  background: var(--color-primary);
  font-size: var(--fs-18);
  font-weight: var(--fw-bold);
  color: var(--color-text-white);
  border: none;
}

.header-box {
  border-radius: 20px 20px 0 0;
  border: 1px solid transparent;
  /* important să nu fie transparent complet */
  background-image:
    linear-gradient(white, white),
    linear-gradient(to bottom, #1e388d99, #ffffff00);
  ;
  background-origin: border-box;
  background-clip: padding-box, border-box;

}

.header-container-content {
  display: flex;
  border-radius: 20px 20px 0 0;
  padding: 24px 106px 0 106px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 72px;

  background: var(--color-header);

  align-self: stretch;
}

.text-49 {
  font-size: var(--fs-49);
  font-weight: var(--fw-bold);
  color: var(--color-text);
}

.text-18 {
  font-size: var(--fs-18);
  font-weight: var(--fw-regular);
  color: var(--color-text-grey);
}

.header-image-wrapper {
  width: 100%;
  position: relative;
  border-radius: 12px 12px 0px 0px;
  box-shadow: 0px 4px 40px 0px rgba(31, 31, 29, 0.08);

  overflow: hidden;
  max-width: 1172px;
}

.header-image-wrapper img {
  width: 100%;

  object-fit: cover;
}

.link-btn {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  padding: 12px 28px;
  justify-content: center;
  align-items: center;
  gap: var(--gap-8);
  border-radius: 40px;
  border: 1px solid var(--color-muted);
  background: var(--color-text-white);
}

.main-container-content {
  display: flex;
  padding: 24px 106px 0px 106px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  align-self: stretch;
  margin-bottom: 100px;
}

.start-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 66px;
  align-items: center;

  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
}

.effectiveness {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
}

.effectiveness__title {
  color: var(--color-text);
  font-size: var(--fs-20);
  font-family: Roboto, sans-serif;
  font-weight: 700;
  line-height: 32.5px;
  word-wrap: break-word;
  margin: 0;
}

.desktop-img {
  display: flex;
}

.mobile-img {
  display: none;
}

.flex-box-responsive {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1172px) {
  .link-btn {
    width: 70%;
  }

  .flex-box-responsive {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .mobile-img {
    display: flex;
    height: 440px;
  }

  .desktop-img {
    display: none;
  }

  .header-box {
    border: none;
    border-radius: 0;
  }

  header {
    padding: 0;
  }

  .header-container-content {
    padding: 24px 24px 0 24px;
    border-radius: 0;
  }

  .effectiveness__title {
    font-size: 20px;
  }

  .text-49 {
    font-size: var(--fs-39);
    font-weight: var(--fw-bold);
    color: var(--color-text);
  }

  .text-18 {
    font-size: var(--fs-16);
    font-weight: var(--fw-regular);
    color: var(--color-text-grey);
  }

}

.effectiveness__ratings {
  align-self: stretch;
  height: 167px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
}

.rating {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  align-self: stretch;
}

.rating__label {
  flex: 1 1 0;
  height: 27px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: var(--gap-8);
  color: var(--color-text);
  font-size: var(--fs-18);
  font-family: Roboto, sans-serif;
  font-weight: var(--fw-regular);
  line-height: 27px;
  word-wrap: break-word;
}

.rating__bar-container {
  width: 269px;
  height: 12px;
  position: relative;
}

.rating__bar-container>div {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  position: absolute;
  left: 0;
  top: 0;
}

.rating__bar-background {
  background: #e0e0e0;
}

.rating__bar-foreground {
  background: #ffc107;
}

.review-list-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 20px;
}

.filters {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 18px;
  color: var(--color-text);
}

.custom-checkbox input {
  display: none;
}

.custom-checkbox {
  display: inline-block;
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  user-select: none;
  margin: 0;
  line-height: 24px;
  align-items: center;
}

.sort-by {
  font-size: var(--fs-18);
  color: var(--color-text-grey);
  font-weight: 400;
}

.custom-checkbox {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-left: 36px;
  /* spațiu pentru checkbox */
  cursor: pointer;
  user-select: none;
  font-size: 18px;
  line-height: 1.2;
  color: var(--color-text);
}

@media (max-width: 1172px) {
  .filters {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 10px;
    font-size: 18px;
    color: var(--color-text);
  }

  .custom-checkbox {
    font-size: 16px;
  }

  .sort-by {
    font-size: var(--fs-16);
    color: var(--color-text-grey);
    font-weight: 400;
  }
}

.custom-checkbox input {
  display: none;
}

.custom-checkbox .checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-text);
  border-radius: 5px;
  background: white;
  box-sizing: border-box;

  display: flex;
  justify-content: center;
  align-items: center;
  transition: border-color 0.3s ease;
}

.custom-checkbox input:checked+.checkmark {
  border-color: #ffc107;
}

.custom-checkbox .icon {
  width: 16px;
  height: 16px;
  display: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.custom-checkbox input:checked+.checkmark .icon {
  display: block;
}

.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

@media (min-width: 1172px) {
  .icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin: auto;
  }
}

.reviews-block {
  margin-top: 72px;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: var(--gap-40);
}

.advertise-container {
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
  gap: var(--gap-12);
  order: 3;
}

.advertise-wrapper {
  height: 960px;
  width: 100%;
  width: 292px;
  background-color: var(--color-accent);
  border-radius: 12px;
}

.reviews {
  width: 100%;
  order: 2;
}

.review-frame {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  align-self: stretch;
}

.feedback-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}

.feedback-action {
  display: flex;
  align-items: center;
  gap: 32px;
}

.feedback-action-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-text {
  color: var(--color-report);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 27px */
}

.text-rev {
  font-size: var(--fs-39);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 32px;
}

.text-25 {
  font-size: var(--fs-25);
  font-weight: 700;
}

.display {
  width: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
}

.display-1 {
  display: none;
}

@media (max-width: 1172px) {
  .reviews {
    width: 100%;
    order: 3;
  }

  .advertise-container {
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: column;
    gap: var(--gap-12);
    order: 2;
  }

  .review-list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 20px;
  }

  .text-rev {
    font-size: var(--fs-31);
    margin-bottom: 24px;
    font-weight: 700;
    color: var(--color-text);
    text-align: center;
  }

  .display {
    display: none;
  }

  .display-1 {
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    margin: 0;
  }

  .reviews-block {
    margin-top: 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--gap-40);
  }

  .main-container-content {
    display: flex;
    padding: 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: stretch;
  }

  .report-text {
    font-size: 16px;
  }

  .advertise-wrapper {
    width: 100%;
    height: 461px;
  }
}

.feedback-action-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}

.frame-parent {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  color: var(--color-text);
}

.list-overview {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  align-self: stretch;
  position: relative;
}

.list-of-reviews-9-parent {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  color: var(--color-text);
}

.list-title {
  font-size: var(--fs-39);
  font-weight: var(--fw-bold);
  text-align: center;
  width: 100%;
  margin-bottom: 12px;
}

@media (max-width: 1172px) {
  .list-of-reviews-9-parent {
    flex-direction: column;
    gap: 12px;
    justify-content: start;
    align-items: start;
  }
}

.list-title {
  font-size: var(--fs-31);
  margin-bottom: 0;
}

.show-more-btn {
  color: var(--color-text);
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  border: none;
  background: transparent;
  margin: 0 auto;
}

@media (max-width: 1172px) {
  .show-more-btn {
    font-size: 16px;
  }
}

.button-back {
  display: flex;
  width: 52px;
  height: 52px;
  padding: 14px;
  justify-content: center;
  align-items: center;
  border-radius: 1000px;
  background: var(--color-text);
  box-shadow: 4px 4px 4px 0 rgba(255, 193, 7, 0.04);
  border: none;
  z-index: 10;
  cursor: pointer;
}

@media (min-width: 1172px) {
  .button-back {
    display: flex;
    width: 60px;
    height: 60px;
    padding: 14px;
    justify-content: center;
    align-items: center;
  }
}

.back-btn-container {
  position: sticky;
  bottom: 32px;
  width: 100%;
  display: flex;
  justify-content: end;
  margin: 0 auto;
}

@media (max-width: 1172px) {
  .back-btn-container {
    margin: auto;
    margin-bottom: 20px;
    margin-right: 10px;
  }
}

.button-back.show {
  display: none;
}

.review-frame {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  align-self: stretch;
}

.card-frame-main {
  display: flex;
  padding: 28px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
  border-radius: 12px;
  border: 1.5px solid var(--color-text);
}

.card-frame-usual {
  display: flex;
  padding: 28px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
}

.card-frame-usual {
  display: none;
}

.card-frame-usual.visible {
  display: block;
}

.card-gap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  align-self: stretch;
}

@media (max-width: 1172px) {
  .card-gap {
    gap: 28px;
  }
}

.card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  align-self: stretch;
}

.card-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}

@media (max-width: 1172px) {
  .card-header-content {
    flex-direction: column-reverse;
    gap: 16px;
    align-items: start;
    justify-content: start;
  }
}

.card-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-header-text {
  color: var(--color-text);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.card-user {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}

.card-user-rating {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

@media (max-width: 1172px) {
  .card-user-rating {
    flex-direction: column-reverse;
    align-items: start;
    gap: 8px;
  }
}

.card-user-name {
  color: var(--color-text);
  font-size: 25px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
  /* 32.5px */
  text-transform: capitalize;
}

@media (max-width: 1172px) {
  .card-user-name {
    font-size: 20px;
  }

  .start-container {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 28px;
    margin-top: 0;
  }
}

.user-star-review {
  display: flex;
  align-items: center;
  gap: 4px;
}

.user-info-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

@media (max-width: 1172px) {
  .user-info-container {
    flex-direction: column;
    align-items: start;
  }
}

.user-info-container-box {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

@media (max-width: 1172px) {
  #line {
    display: none;
  }
}

.info-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.info-box-text {
  color: var(--color-text-grey);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

@media (max-width: 1172px) {
  .info-box-text {
    font-size: 16px;
  }
}

.info-box-label {
  display: flex;
  padding: 4px 16px;
  align-items: flex-start;
  gap: 10px;
  border-radius: 40px;
  background: var(--color-label);
}

.label-text {
  color: var(--color-text);
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
}

.line {
  width: 1px;
  height: 20px;
  background: #e0e0e0;
}

.card-content-gap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  align-self: stretch;
}

.card-review-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}

.review-header-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-text {
  color: var(--color-text);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
}

@media (max-width: 1172px) {
  .review-text {
    font-size: 18px;
  }
}

.review-category-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

@media (max-width: 1172px) {
  .review-category-container {
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 8px;
  }
}

.category-label {
  display: flex;
  padding: 4px 12px;
  align-items: center;
  gap: 8px;
  border-radius: 40px;
  background: #f5f5f5;
}

.category-label-star-box {
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
}

.mobile-overlay-text {
  position: fixed;
  bottom: 0;
  width: 100%;
  border-top: 1px solid #e6e6e6;

  padding: 32px 24px;
  /* sus/jos + stânga/dreapta */
  box-sizing: border-box;
  /* crucial pentru padding lateral corect */
  font-size: var(--fs-16);
  color: var(--color-muted);
  text-align: center;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.burger-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 100;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 24px;
}

.mobile-overlay .header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1384px;
  padding: 0 106px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
}

.mobile-overlay.active {
  display: flex;
}

/* Mobile overlay nav — matches blog.html overlay style */
.mobile-overlay #mobileNav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.mobile-overlay #mobileNav a {
  font-size: var(--fs-25);
  font-weight: var(--fw-medium);
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-overlay #mobileNav a:hover,
.mobile-overlay #mobileNav a.active {
  color: var(--color-primary);
}

.header-text-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1172px) {
  .desktop-nav {
    display: none;
  }

  .burger-toggle {
    display: block;

    z-index: 1001;
  }

  .navigation {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .navigation li {
    font-size: var(--fs-20);
  }

  .header-text-container {
    gap: 24px;
  }
}

.button-back {
  display: flex;
  width: 52px;
  height: 52px;
  padding: 14px;
  justify-content: center;
  align-items: center;
  border-radius: 1000px;
  background: var(--color-text);
  box-shadow: 4px 4px 4px 0 rgba(255, 193, 7, 0.04);
  border: none;
  z-index: 10;
  cursor: pointer;
}

@media (min-width: 1172px) {
  .button-back {
    display: flex;
    width: 60px;
    height: 60px;
    padding: 14px;
    justify-content: center;
    align-items: center;
  }
}

.back-btn-container {
  position: sticky;
  bottom: 32px;
  width: 100%;
  right: 20px;
  display: flex;
  justify-content: end;
}

@media (max-width: 1172px) {
  .back-btn-container {
    display: flex;
    position: sticky;
  }
}

.button-back.show {
  display: none;
}