/* Figma 2608:316 / 3239:169. Solo Testimoniales. */
.iemc-testimonials,
.iemc-testimonials-modal {
    font-family: var(--font-montserrat, Montserrat, Arial, sans-serif);
    color: #fff;
    box-sizing: border-box;
}
.iemc-testimonials { width: 100%; background: #000; padding-bottom: 89px; }
.iemc-testimonials *, .iemc-testimonials-modal * { box-sizing: border-box; min-width: 0; }
.iemc-testimonials h1, .iemc-testimonials h2, .iemc-testimonials p { margin: 0; }
.iemc-testimonials__hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
    min-height: 728px;
    padding: 180px max(24px, calc((100% - 1220px) / 2)) 99px;
    border-radius: 20px;
    background-image: linear-gradient(270deg, #000 28.269%, transparent 73.088%);
    background-size: cover;
    background-position: center;
}
.iemc-testimonials__hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: inherit; pointer-events: none; }
.iemc-testimonials__hero-copy { position: relative; z-index: 2; width: 602px; max-width: 100%; }
.iemc-testimonials__hero h1 { font-size: 40px; line-height: 1.22; font-weight: 700; color: #fff; }
.iemc-testimonials__intro { margin-top: 24px; font-size: 20px; line-height: 1.22; color: #b3b3b3; }
.iemc-testimonials__intro p + p { margin-top: 1.22em; }
.iemc-testimonials__stories { margin-top: 26px; padding: 100px 24px; background: #0d0d0d; }
.iemc-testimonials__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 15px; max-width: 1220px; margin: 0 auto; }
.iemc-testimonials__card { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 20px; min-height: 550px; padding: 30px 24px; border: 1px solid #c00; border-radius: 12px; background: #1a1a1a; box-shadow: 0 8px 24px rgb(0 0 0 / 40%); }
.iemc-testimonials__portrait { width: 200px; height: 200px; max-width: 100%; flex-shrink: 0; }
.iemc-testimonials__content { display: grid; gap: 12px; width: 100%; }
.iemc-testimonials__identity { display: grid; gap: 4px; text-align: center; }
.iemc-testimonials__identity h2 { color: #fff; font-size: 30px; font-weight: 700; line-height: 1.22; }
.iemc-testimonials__role { color: #c00; font-size: 15px; font-weight: 700; line-height: 1.22; }
.iemc-testimonials__description { color: #b3b3b3; font-size: 20px; line-height: 22px; font-weight: 400; }
.iemc-testimonials__trigger { max-width: 100%; min-height: 42px; padding: 9px 51px; background: #fff; border: 1px solid #d11111; border-radius: 999px; box-shadow: 0 4px 4px rgb(0 0 0 / 25%); font: 700 20px/1.2 var(--font-montserrat, Montserrat, Arial, sans-serif); color: #d11111; cursor: pointer; }
.iemc-testimonials__advice { max-width: 1220px; margin: 26px auto 0; padding: 60px 103px; display: grid; grid-template-columns: minmax(0, 602px) minmax(0, 294px); gap: 118px; align-items: center; background: rgb(255 255 255 / 20%); border-radius: 20px; }
.iemc-testimonials__advice-copy { font-size: 25px; line-height: 1.22; }
.iemc-testimonials__advice h2 { margin-bottom: 40px; color: #fee9e7; font-size: 40px; line-height: 1.22; font-weight: 700; font-variant-caps: all-small-caps; }
.iemc-testimonials .iemc-testimonials__advice-emphasis { margin-top: 1.22em; color: #d11111; font-weight: 700; }
.iemc-testimonials__advice-image { display: block; width: 100%; height: auto; border-radius: 19px; }
.iemc-testimonials-modal { width: min(960px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; margin: auto; border: 2px solid #c00f0c; border-radius: 24px; background: #1e1e1e; box-shadow: 0 8px 24px rgb(0 0 0 / 40%), 0 24px 64px -12px rgb(0 0 0 / 50%); }
.iemc-testimonials-modal:not([open]) { display: none; }
.iemc-testimonials-modal::backdrop { background: rgb(0 0 0 / 85%); backdrop-filter: blur(12px); }
.iemc-testimonials-modal__panel { position: relative; aspect-ratio: 16 / 9; max-height: calc(100dvh - 36px); }
.iemc-testimonials-modal__video { display: block; width: 100%; height: 100%; max-height: calc(100dvh - 36px); border-radius: 22px; }
.iemc-testimonials-modal [hidden] { display: none; }
.iemc-testimonials-modal__close, .iemc-testimonials-modal__play { display: grid; place-items: center; position: absolute; padding: 0; color: #fff; background: rgb(0 0 0 / 40%); border: 1px solid rgb(255 255 255 / 20%); cursor: pointer; }
.iemc-testimonials-modal__close { right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 22px; backdrop-filter: blur(6px); font-size: 28px; line-height: 1; }
.iemc-testimonials-modal__play { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 96px; height: 96px; border-radius: 50%; font-size: 44px; background: rgb(0 0 0 / 50%); box-shadow: 0 10px 24px rgb(0 0 0 / 40%); }
.iemc-testimonials-modal__play:disabled { cursor: default; }
.iemc-testimonials__trigger:focus-visible, .iemc-testimonials-modal button:focus-visible, .iemc-testimonials-modal video:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.iemc-testimonials-modal__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1279px) {
    .iemc-testimonials__advice { margin-inline: 24px; padding: 48px; gap: 48px; }
    .iemc-testimonials__hero { padding-top: 100px; padding-bottom: 80px; min-height: 580px; }
}
@media (max-width: 767px) {
    .iemc-testimonials { padding-bottom: 48px; }
    .iemc-testimonials__hero { min-height: 0; padding: 64px 20px; }
    .iemc-testimonials__hero h1 { font-size: 28px; overflow-wrap: break-word; }
    .iemc-testimonials__intro { font-size: 18px; }
    .iemc-testimonials__stories { padding: 48px 20px; }
    .iemc-testimonials__grid { grid-template-columns: minmax(0, 1fr); }
    .iemc-testimonials__card { min-height: 0; padding: 28px 20px; gap: 24px; }
    .iemc-testimonials__identity h2 { font-size: 26px; }
    .iemc-testimonials__description { font-size: 18px; line-height: 1.4; }
    .iemc-testimonials__trigger { padding-inline: 20px; font-size: 18px; min-height: 44px; }
    .iemc-testimonials__advice { margin-inline: 20px; padding: 32px 24px; grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .iemc-testimonials__advice h2 { font-size: 30px; margin-bottom: 24px; }
    .iemc-testimonials__advice-copy { font-size: 20px; line-height: 1.4; }
    .iemc-testimonials__advice-image { max-width: 294px; justify-self: center; }
    .iemc-testimonials-modal__play { width: 64px; height: 64px; font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
    .iemc-testimonials-modal, .iemc-testimonials-modal::backdrop { animation: none; transition: none; scroll-behavior: auto; }
}
