/* page title starts here ------------------------------------- */

section.title-texts {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}
h1.page-title {
    color: var(--text-s-01-page-title-h1);
    font-family: "Inter Display", "Inter", sans-serif;
    font-size: 2rem;
    line-height: 2.4rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: -0.015px;
    margin: 0;
    
    width: 274px;
    max-width: 80%;
}
.title-texts p {
    font-size: 1.1rem;
    line-height: 1.7rem;
    letter-spacing: -0.25px;
    text-align: left;
    margin-top: 0;

    width: 80%;
    max-width: 55%;
    color: var(--text-s-01-page-title-p);
    text-align: center;
    font-style: normal;
    font-weight: 400;
}

.s-01 {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
    width: 100%;
    padding-top: 2rem;
}

.s-01 div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    border-radius: 8px;
    /* background: var(--surface-s1-bg); */
    max-width: 96%;
    /* padding: 1.6rem 1.2rem; */
    /* margin-bottom: 1rem; */
}

.s-01 img {
    width: 100%;
}


.section2 {
    width: 100%;
    margin: 0.8rem 0;
    display: block;
    grid-template-columns: 1fr 1fr;
    /* padding: 0 1%; */
    gap: 1.8rem;
}

.s-02 { 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 0 1.4rem;
    margin: 2.4rem 0;
}

.product-goal {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    height: auto;
    margin: 0;
}
.s-02 .product-goal h3 {
    color: var(--text-s-02-product-goal-h3);
    font-family: "Inter Display", "Inter", sans-serif;
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 500;
    line-height: 2.2rem;
    /* line-height: normal; */
    letter-spacing: -0.2px;
    margin: 0;
    width: 80%;
}
.s-02 .product-goal p {
    color: var(--text-s-02-product-goal-caption);
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.6rem;
    margin: 0;
}
.problem-statement {
    text-align: center;
    color: var(--teal-900);
    font-size: 1.4rem;
    opacity: 1;
    font-style: normal;
    font-weight: 500;
    line-height: 1.6rem;
    font-family: "Inter display", sans-serif;
    background-image: url("media/ropa/papers-combined.png") !important;
    background-position:0px 0px, left 1em bottom 1em;
    padding: 20px;
    background-color: var(--true-gray-300);
}
.caption-pilcrow {
    width: 80%;
}
.product-goal-details {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin: 0;
}
.product-goal-details p {
    color: var(--text-s-02-product-goal-details-p);
    font-size: 1.6rem;
    font-weight: normal;
    margin: 0;
    line-height: 2.3rem; 
    letter-spacing: -0.2px;
}
.goal-reasons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.goal-reasons {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
}


.goal-reasons > div {
    width: 20px;
    min-width: 20px;
}

.goal-reason {
    color: var(--text-s-02-product-goal-reasons);
    width: 90%;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 2.0rem; /* 125% */
    letter-spacing: -0.2px;
}
.s-03 {
    /* min-width: 359px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    padding: 0 1.4rem;

    /* max-width: 100%; */
    /* box-sizing: border-box; */

    margin: 0 0 0.8rem 0 ;
    border-radius: 0.8rem;
}
.customer-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    width: 100%;
    background-image: url(media/ropa/cloudy-bg.jpg);
    height: 100%;
    padding: 2rem;
    border-radius: 0.8rem;
}
.icon-and-description{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    /* border: 1px solid red; */
}
.icon-text {
    color: var(--text-s-01-page-title-p);
    text-align: center;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    /* border: 1px solid red; */
    margin: 0;
}
.icon-wrapper {
    display: flex;
    /* width: 54px;*/
    width: 100%;
    /* height: 54px; */
    /* padding: 1.6rem; */
    justify-content: center;
    align-items: center;
    border-radius: 0.8rem;
}

.customers-details {
    color: var(--states-total-white);
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1rem; 
}
.customer-caption {
    color: var(--text-s-04-caption);
    width: fit-content;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2.0rem;
    letter-spacing: -0.2px;
}



/* The small callouts */
.section3 {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 3rem 1.2rem 1.8rem;
}
.section3 .wrapper-1, .wrapper-2, .wrapper-3 {
    display: flex;
    flex-direction: column;
    justify-content: center;  
    align-items: center;
    width: 100%;
}
.wrapper-1 {
    gap: 0.4rem;
}
.wrapper-2 {
    gap: 0.6rem;
}
.wrapper-3 {
    gap: 1rem;
}

.top-context {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
}

.top-context svg {
    width: 28px;
    height: 28px;
}
.top-context .caption {
    color: var(--text-s-04-caption);
    width: fit-content;
    font-size: 1.rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2.0rem;
    letter-spacing: -0.2px;
}

h2.powerpoint {
    color: var(--text-s-04-h2);
    text-align: center;
    font-style: normal;
    font-weight: 500;
    font-size: 1.8rem;
    letter-spacing: -0.05rem;
}

.more-details {
    color: var(--text-s-04-p);
    text-align: center;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.9rem; /* 128.571% */
    letter-spacing: -0.1px;
    width: 80%;
}
.call-out {
    border-radius: 4px;
    border: 1px dashed var(--border-danger);
    background: var(--surface-danger);
    display: flex;
    padding: 0.4rem 2.8rem;
    justify-content: center;
    align-items: center;

    color: var(--states-danger);
    font-size: 1.3rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2.2rem; 
}



.section4 {
    /* border: 1px solid red; */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    margin: 0 2% 2rem;
}
.section4 .old-way-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 0.rem;
    /* max-width: 98%; */
    padding: 2.4rem;
    border-radius: 1.4rem;
    background: var(--surface-s4-bg);
}

.old-way-wrapper div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    gap: 2rem;
    margin: 0;
    /* padding: 2rem; */
    /* border: 1px solid red; */
}
.section4 img {
    max-width: 100%;
    border-radius: 0.4rem;
    border: 1px solid var(--border-divs-wrapper);
}
img.special-border {
    border-bottom-left-radius: 0rem;
    border-bottom-right-radius: 0rem;
}
.ropa-def {
    border-radius: 0.4rem;
    position: relative;
    bottom: -4px;
    color: var(--text-audience);
    font-family: "Inter", sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 2rem; /* 150% */
    letter-spacing: -0.16px;
    width: 84%;
    text-align: center;
    /* border: 1px solid red; */
}


.two-rows-grid {
    width: 100%;
    /* max-width: 1190px; */
    padding: 0 2%;
    display: grid;
    grid-template-columns:1fr;
    gap: 1rem;
    margin: 0  0 1rem 0;
    /* border: 1px solid red; */
}
.three-rows-grid {
    width: 100%;
    /* max-width: 1190px; */
    padding: 0 2%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 0  0 1rem 0;
    /* border: 1px solid red; */
}
.grid-images {
    /* padding: 2rem; */
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
    /* border: 1px solid red; */
}

.span-3 {
    grid-column-start: 1;
    grid-column-end: 4;
}
.grid-images .img-wrapper {
    background-color: var(--surface-grid-images-default);
    padding: 0;
    border-radius: 1rem;
    width: 100%;
    /* border: 1px solid red; */
}
.grid-images img {
    width: 100%;
    border-radius: 0.4rem;

    /* position: relative; */
    /* bottom: 0; */
}

.grid-images p {
    color: var(--text-audience);
    font-family: "Inter", sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 2rem; /* 150% */
    letter-spacing: -0.16px;
    max-width: 90%;
    text-align: center;
}
.container-stretch {
    grid-template-columns: 1fr;
}
.special-teal {
    background-color: var(--surface-teal-special) !important;
}
.special-pink {
    background-color: var(--surface-pink-special) !important;
}



.dark-bg {
    background-color: var(--surface-dark-bg) !important;
}
.teal-bg {
    background-color: var(--surface-teal-bg) !important;
}
.purple-bg {
    background-color: var(--surface-purple-bg) !important;
}



video, iframe {
    width: 100%;
}


/* ---------- Lightbox ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 8px;
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.lightbox-overlay.open .lightbox-image {
  transform: scale(1);
}

/* Optional: show zoom cursor */
.lightbox-target img {
  cursor: zoom-in;
}




.hide-on-mobile {
    display: none;
}