/* =============================================================
   CRI ABOUT – fullscreen creative section
   ============================================================= */

.cri-about-fs {
  height: 95vh;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 15%, rgba(230, 120, 80, 0.08), transparent 28%),
    radial-gradient(circle at 88% 15%, rgba(14, 53, 49, 0.07), transparent 28%),
    #ffffff;
}

/* ---- eyebrow ---- */
.cri-about-fs__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 48px 6px;
  flex-shrink: 0;
}

/* ---- body grid with left/right margin ---- */
.cri-about-fs__body {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(400px, 440px) minmax(400px, 1fr) minmax(330px, 380px);
  gap: 22px;
  padding: 8px 70px 70px;
}

/* =============================================================
   LEFT PANEL
   ============================================================= */

.cri-about-fs__left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 32px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), transparent 35%),
    linear-gradient(180deg, var(--tp-theme-1, #e67850) 0%, #d76542 100%);
  box-shadow: 0 24px 55px rgba(230, 120, 80, 0.22);
  position: relative;
}

.cri-about-fs__left::before {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 24px solid rgba(255, 255, 255, 0.10);
}

.cri-about-fs__left::after {
  content: "";
  position: absolute;
  left: -55px;
  bottom: -55px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cri-about-fs__heading,
.cri-about-fs__divider,
.cri-about-fs__mission,
.cri-about-fs__list {
  position: relative;
  z-index: 1;
}

/* ---- +20 ans heading ---- */
.cri-about-fs__heading {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}

.cri-about-fs__years {
  flex: 0 0 auto;
  line-height: 0.78;
}

.cri-about-fs__years .num,
.cri-about-fs__years .word {
  display: block;
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  font-family: var(--tp-ff-heading, serif);
  line-height: 0.88;
  letter-spacing: 2px;
}

.cri-about-fs__years .word {
  margin-top: 6px;
  letter-spacing: 7px;
  margin-left: 13px;
}

/* IMPORTANT:
   This style stays the same on desktop, zoom, tablet and mobile.
   Do not override font-size in media queries. */
.cri-about-fs__tagline {
  margin: 0;
  transform: translateY(2px);
  font-size: 31px;
  line-height: 1.30;
  color: #fff;
  font-family: var(--tp-ff-heading, serif);
  font-weight: 700;
  white-space: nowrap;
}

.cri-about-fs__tagline br {
  display: block;
}

.cri-about-fs__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}

.cri-about-fs__mission {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.42;
  max-width: 100%;
}

.cri-about-fs__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
}

.cri-about-fs__list li {
  position: relative;
  padding-left: 22px;
  font-size: 13.4px;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.32;
  max-width: 100%;
}

.cri-about-fs__list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.20);
}

/* =============================================================
   CENTER PANEL
   ============================================================= */

.cri-about-fs__center {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 24px 55px rgba(14, 53, 49, 0.10);
  padding: 18px 22px;
}

.cri-about-fs__center::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 22px;
  pointer-events: none;
}

.cri-about-fs__map-wrap {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 20px 6px;
}

.cri-about-fs__map-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 18px 24px rgba(14, 53, 49, 0.10));
}

.cri-about-fs__region-label {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  text-align: center;
  margin-bottom: 8px;
}

.cri-about-fs__region-label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(14, 53, 49, 0.06);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tp-theme-2, #0e3531);
}

/* =============================================================
   PREMIUM NEWSLETTER
   ============================================================= */

.cri-about-fs__newsletter {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 248, 0.96));
  border: 1px solid rgba(230, 120, 80, 0.16);
  box-shadow: 0 12px 28px rgba(14, 53, 49, 0.08);
}

.cri-about-fs__newsletter-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--tp-theme-1, #e67850), #d76542);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 10px 20px rgba(230, 120, 80, 0.22);
}

.cri-about-fs__newsletter-content {
  min-width: 0;
}

.cri-about-fs__newsletter-content p {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--tp-theme-2, #0e3531);
}

.cri-about-fs__newsletter-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cri-about-fs__newsletter-form input {
  flex: 1;
  min-width: 0;
  height: 38px;
  border: 1px solid rgba(14, 53, 49, 0.10);
  border-radius: 999px;
  background: #fff;
  padding: 0 14px;
  font-size: 12.5px;
  color: var(--tp-theme-2, #0e3531);
  outline: none;
  transition: all 0.25s ease;
}

.cri-about-fs__newsletter-form input::placeholder {
  color: rgba(14, 53, 49, 0.45);
}

.cri-about-fs__newsletter-form input:focus {
  border-color: var(--tp-theme-1, #e67850);
  box-shadow: 0 0 0 4px rgba(230, 120, 80, 0.10);
}

.cri-about-fs__newsletter-form button {
  height: 38px;
  border: none;
  border-radius: 999px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--tp-theme-2, #0e3531);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.cri-about-fs__newsletter-form button i {
  font-size: 11px;
  transition: transform 0.25s ease;
}

.cri-about-fs__newsletter-form button:hover {
  background: var(--tp-theme-1, #e67850);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(230, 120, 80, 0.22);
}

.cri-about-fs__newsletter-form button:hover i {
  transform: translateX(3px);
}

/* =============================================================
   RIGHT PANEL
   ============================================================= */

.cri-about-fs__right {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 24px 55px rgba(14, 53, 49, 0.10);
}

.cri-about-fs__photo {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.cri-about-fs__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 53, 49, 0.05), rgba(14, 53, 49, 0.22));
  pointer-events: none;
}

.cri-about-fs__photo img,
.cri-about-fs__photo video {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.cri-about-fs__photo:hover img,
.cri-about-fs__photo:hover video {
  transform: scale(1.04);
}

/* ---- social under photo ---- */
.cri-about-fs__photo-social {
  flex-shrink: 0;
  padding: 18px 22px 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faf9 100%);
  border-top: 1px solid rgba(14, 53, 49, 0.08);
}

.cri-about-fs__photo-social-label {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--tp-theme-2, #0e3531);
  opacity: 0.70;
}

.cri-about-fs__social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cri-about-fs__social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(230, 120, 80, 0.10);
  color: var(--tp-theme-1, #e67850);
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cri-about-fs__social a:hover {
  background: var(--tp-theme-1, #e67850);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(230, 120, 80, 0.25);
}

/* =========================================================
   ABOUT MAP - markers + hover regions
   ========================================================= */

.cri-about-map {
  position: relative;
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  isolation: isolate;
}

.cri-about-map__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  transition: filter 0.25s ease;
}

/* -------------------------
   Markers
   ------------------------- */
.cri-about-map__marker {
  position: absolute;
  z-index: 8;
  transform: translate(-50%, -100%);
  text-decoration: none;
}

.cri-about-map__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
  background: #e67850;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 0 rgba(230, 120, 80, 0.45);
  animation: criMapPulse 1.8s infinite;
}

.cri-about-map__tag {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(8px);
  min-width: 125px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #0e3531;
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.cri-about-map__tag small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 500;
  opacity: 0.9;
}

.cri-about-map__tag::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-width: 7px;
  border-style: solid;
  border-color: #0e3531 transparent transparent transparent;
}

.cri-about-map__marker:hover .cri-about-map__tag,
.cri-about-map__marker:focus-visible .cri-about-map__tag {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* -------------------------
   Clickable SVG regions
   ------------------------- */
.cri-about-map__region {
  position: absolute;
  z-index: 4;
  display: block;
  border-radius: 22px;
  text-decoration: none;
  outline: none;
  transition: all 0.25s ease;
}

.cri-about-map__region-svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  pointer-events: none;
  filter:
    drop-shadow(0 8px 12px rgba(230, 120, 80, 0.30))
    drop-shadow(0 2px 3px rgba(14, 53, 49, 0.12));
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s ease;
}

.cri-about-map__region span {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%) translateY(8px);
  padding: 6px 10px;
  border-radius: 999px;
  background: #0e3531;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.cri-about-map__region:hover .cri-about-map__region-svg,
.cri-about-map__region:focus-visible .cri-about-map__region-svg {
  opacity: 1;
  visibility: visible;
  transform: scale(1.05);
}

.cri-about-map__region:hover span,
.cri-about-map__region:focus-visible span {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) translateY(0);
}

/* -------------------------
   Marker positions
   ------------------------- */
.cri-about-map__marker--oujda {
  left: 84.5%;
  top: 16.5%;
}

.cri-about-map__marker--nador {
  left: 70.3%;
  top: 10.5%;
}

.cri-about-map__marker--taourirt {
  left: 73.5%;
  top: 26.5%;
}

/* -------------------------
   Region hotspot positions
   ------------------------- */
.cri-about-map__region--driouch {
  left: 57.5%;
  top: 2.9%;
  width: 17%;
  height: 20%;
}

.cri-about-map__region--nador {
  left: 66%;
  top: 0.4%;
  width: 14%;
  height: 19%;
}

.cri-about-map__region--berkane {
  left: 72.4%;
  top: 6.3%;
  width: 13%;
  height: 16%;
}

.cri-about-map__region--oujda {
  left: 79.4%;
  top: 9.98%;
  width: 16%;
  height: 16%;
}

.cri-about-map__region--taourirt {
  left: 65.59%;
  top: 15.5%;
  width: 17%;
  height: 31.5%;
}

.cri-about-map__region--jerada {
  left: 74.4%;
  top: 19.9%;
  width: 23%;
  height: 23%;
}

.cri-about-map__region--guercif {
  left: 55.1%;
  top: 14.9%;
  width: 17%;
  height: 36%;
}

.cri-about-map__region--figuig {
  left: 57.5%;
  top: 39.7%;
  width: 49%;
  height: 49%;
}

/* -------------------------
   Animation
   ------------------------- */
@keyframes criMapPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(230, 120, 80, 0.45);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(230, 120, 80, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(230, 120, 80, 0);
  }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */

/* Laptop-L / zoom 110% / 1366px */
@media (max-width: 1399px) {
  .cri-about-fs__body {
    max-width: 1400px;
    grid-template-columns: minmax(400px, 425px) minmax(340px, 1fr) minmax(310px, 350px);
    gap: 18px;
    padding-left: 34px;
    padding-right: 34px;
  }

  .cri-about-fs__left {
    padding-left: 28px;
    padding-right: 28px;
  }

  .cri-about-fs__heading {
    gap: 20px;
  }

  .cri-about-fs__years .num,
  .cri-about-fs__years .word {
    font-size: 40px;
  }

  .cri-about-fs__tagline {
    margin: 0;
    transform: translateY(2px);
    font-size: 31px;
    line-height: 1.30;
    color: #fff;
    font-family: var(--tp-ff-heading, serif);
    font-weight: 700;
    white-space: nowrap;
  }

  .cri-about-fs__tagline br {
    display: block;
  }

  .cri-about-map {
    max-width: 700px;
  }
}

/* Large tablets / small laptops */
@media (max-width: 1199px) {
  .cri-about-fs {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .cri-about-fs__eyebrow {
    padding: 16px 24px 4px;
  }

  .cri-about-fs__body {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 18px;
    padding: 16px 28px 28px;
  }

  .cri-about-fs__left {
    grid-column: 1;
    grid-row: 1;
    border-radius: 22px;
    padding: 30px 32px;
  }

  .cri-about-fs__center {
    grid-column: 2;
    grid-row: 1 / 3;
    min-height: 560px;
    border-radius: 22px;
  }

  .cri-about-fs__right {
    grid-column: 1;
    grid-row: 2;
    min-height: 360px;
    border-radius: 22px;
  }

  .cri-about-fs__heading {
    gap: 20px;
  }

  .cri-about-fs__tagline {
    margin: 0;
    transform: translateY(2px);
    font-size: 31px;
    line-height: 1.30;
    color: #fff;
    font-family: var(--tp-ff-heading, serif);
    font-weight: 700;
    white-space: nowrap;
  }

  .cri-about-fs__tagline br {
    display: block;
  }

  .cri-about-fs__photo img,
  .cri-about-fs__photo video {
    min-height: 280px;
  }

  .cri-about-fs__newsletter {
    grid-template-columns: 42px 1fr;
  }

  .cri-about-fs__newsletter-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 16px;
  }

  .cri-about-fs__newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .cri-about-fs__newsletter-form input,
  .cri-about-fs__newsletter-form button {
    width: 100%;
  }
}

/* Tablets */
@media (max-width: 991px) {
  .cri-about-fs__body {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 14px 22px 24px;
    gap: 16px;
  }

  .cri-about-fs__left,
  .cri-about-fs__center,
  .cri-about-fs__right {
    grid-column: auto;
    grid-row: auto;
    border-radius: 20px;
  }

  .cri-about-fs__center {
    min-height: 500px;
  }

  .cri-about-fs__heading {
    gap: 24px;
    align-items: center;
  }

  .cri-about-fs__tagline {
    margin: 0;
    transform: translateY(2px);
    font-size: 31px;
    line-height: 1.30;
    color: #fff;
    font-family: var(--tp-ff-heading, serif);
    font-weight: 700;
    white-space: nowrap;
  }

  .cri-about-fs__tagline br {
    display: block;
  }

  .cri-about-fs__photo img,
  .cri-about-fs__photo video {
    min-height: 300px;
  }

  .cri-about-map {
    max-width: 680px;
  }

  .cri-about-map__tag {
    min-width: 110px;
    font-size: 11px;
    padding: 7px 9px;
  }

  .cri-about-map__region span {
    font-size: 11px;
    padding: 5px 9px;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .cri-about-fs {
    min-height: auto;
  }

  .cri-about-fs__eyebrow {
    padding: 14px 14px 2px;
  }

  .cri-about-fs__body {
    padding: 12px 14px 18px;
    gap: 14px;
  }

  .cri-about-fs__left {
    padding: 24px 20px;
    gap: 14px;
    border-radius: 18px;
  }

  .cri-about-fs__heading {
    align-items: flex-start;
    gap: 14px;
  }

  .cri-about-fs__years .num,
  .cri-about-fs__years .word {
    font-size: 40px;
  }

  .cri-about-fs__tagline {
    margin: 0;
    transform: translateY(2px);
    font-size: 31px;
    line-height: 1.30;
    color: #fff;
    font-family: var(--tp-ff-heading, serif);
    font-weight: 700;
    white-space: nowrap;
  }

  .cri-about-fs__tagline br {
    display: block;
  }

  .cri-about-fs__mission {
    font-size: 13px;
  }

  .cri-about-fs__list {
    gap: 8px;
  }

  .cri-about-fs__list li {
    font-size: 12.5px;
    line-height: 1.38;
  }

  .cri-about-fs__center {
    min-height: auto;
    padding: 18px 14px;
    border-radius: 18px;
  }

  .cri-about-fs__center::before {
    inset: 10px;
    border-radius: 16px;
  }

  .cri-about-fs__map-wrap {
    padding: 10px 10px 6px;
  }

  .cri-about-fs__map-wrap img {
    max-height: 280px;
  }

  .cri-about-fs__region-label {
    margin-bottom: 12px;
  }

  .cri-about-fs__region-label span {
    font-size: 9.5px;
    padding: 7px 12px;
  }

  .cri-about-fs__newsletter {
    grid-template-columns: 42px 1fr;
    padding: 12px;
    border-radius: 16px;
  }

  .cri-about-fs__newsletter-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 16px;
  }

  .cri-about-fs__newsletter-content p {
    font-size: 12px;
  }

  .cri-about-fs__newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .cri-about-fs__newsletter-form input,
  .cri-about-fs__newsletter-form button {
    width: 100%;
    height: 40px;
  }

  .cri-about-fs__right {
    border-radius: 18px;
  }

  .cri-about-fs__photo img,
  .cri-about-fs__photo video {
    min-height: 240px;
  }

  .cri-about-fs__photo-social {
    padding: 18px;
  }

  .cri-about-fs__social a {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .cri-about-map__dot {
    width: 13px;
    height: 13px;
  }

  .cri-about-map__tag {
    min-width: 95px;
    font-size: 10px;
    padding: 6px 8px;
  }

  .cri-about-map__region span {
    font-size: 10px;
    padding: 4px 8px;
  }
}

/* Very small mobile */
@media (max-width: 380px) {
  .cri-about-fs__heading {
    gap: 10px;
  }

  .cri-about-fs__left {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cri-about-fs__years .num,
  .cri-about-fs__years .word {
    font-size: 36px;
  }

  .cri-about-fs__tagline {
    margin: 0;
    transform: translateY(2px);
    font-size: 31px;
    line-height: 1.30;
    color: #fff;
    font-family: var(--tp-ff-heading, serif);
    font-weight: 700;
    white-space: nowrap;
  }

  .cri-about-fs__tagline br {
    display: block;
  }
}


@media (max-width: 575px) {
  .cri-about-fs__tagline {
    font-size: 27px !important;
  }
}

@media (max-width: 380px) {
  .cri-about-fs__tagline {
    font-size: 24px !important;
  }
}