/* ====================================
   REVOPS MODULE - GLOBAL STYLES
   ==================================== */

.revops-module {
  width: 100%;
}

.revops-container {
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 768px) {
  .revops-container {
    padding: 0px;
  }
}
/* ====================================
   HEADER SECTION
   ==================================== */

.revops-header {
  padding: 60px 20px;
  padding-top: 120px;
  text-align: left;
}

.revops-header__title h1 {
  font-weight: 500;
  font-size: clamp(35px, 5vw, 55px);
  line-height: 99%;
  letter-spacing: 0%;
  font-stretch: 125%;
}
.revops-header__subtitle{
  margin-top: 15px;
}
.revops-header__subtitle p{
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  color: #15E9FF;
  line-height: 1;
  margin: 0 0 30px 0;
  font-stretch: 125%;
}

.revops-header__arrow {
  margin-top: 30px;
}

.revops-header__arrow img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.revops-header__arrow--mobile {
  display: none;
}

.revops-header__arrow--desktop {
  display: block;
}

/* ====================================
   TOP CARDS SECTION (STICKY NAVIGATION)
   ==================================== */

.revops-cards-top {
  background: linear-gradient(180deg, #00d9ff 0%, #00bfff 100%);
  padding: 40px 20px;
}

.revops-cards-top--sticky {
  position: sticky;
  top: 80px;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .revops-cards-top--sticky {
    top: 60px;
  }
}


.revops-cards-top__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.revops-card-simple {
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid #fff;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.revops-card-simple--link {
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.revops-card-simple:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.revops-card-simple__icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.revops-card-simple__icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Default icon visible by default, active icon hidden */
.revops-card-simple__icon-default {
  display: block;
}

.revops-card-simple__icon-active {
  display: none;
}

/* When card is active, hide default icon and show active icon */
.revops-card-simple.is-active .revops-card-simple__icon-default {
  display: none;
}

.revops-card-simple.is-active .revops-card-simple__icon-active {
  display: block;
}


/* Desktop Stuck Styles */
@media (min-width: 993px) {
  .revops-cards-top--sticky.is-stuck {
    padding: 15px 20px;
  }
  
  .revops-cards-top--sticky.is-stuck .revops-card-simple {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }
  
  .revops-cards-top--sticky.is-stuck .revops-card-simple__icon {
    display: none;
  }
}

.revops-card-simple__text {
  font-weight: 500;
  font-size: 18px;
  line-height: 99%;
  letter-spacing: 0%;
  text-align: center;
  font-stretch: 110%;
}

.revops-card-simple.is-active {
  transform: translateY(0) !important;
  background: #ffffff;
  border: 2px solid #00d9ff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}



/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Tabs Content */
.revops-tabs-content {
  position: relative;
  width: 100%;
  min-height: 200px;
}

.revops-tab-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  pointer-events: none;
}

.revops-tab-panel.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.revops-tab-panel.is-exiting {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
}

/* ====================================
   DIAGNOSTICO SECTION
   ==================================== */

.revops-diagnostico {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  padding: 60px 20px;
}

.revops-diagnostico__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.revops-diagnostico__title {
font-weight: 500;
font-size: 40px;
line-height: 99%;
letter-spacing: 0%;
font-stretch: 125%;
}

.revops-diagnostico__description p {
font-weight: 500;
font-size: 24px;
line-height: 94%;
letter-spacing: 0%;
font-stretch: 125%;
color: #747474;
}

.revops-diagnostico__arrow {
  margin-top: 20px;
  margin-bottom: 20px;
}

.revops-diagnostico__arrow img {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
}

.revops-diagnostico__arrow--mobile {
  display: none;
}

.revops-diagnostico__arrow--desktop {
  display: block;
}

.revops-card-cyan {
  background: linear-gradient(135deg, #00d9ff 0%, #00bfff 100%);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0, 191, 255, 0.25);
}

.revops-card-cyan__title {
font-weight: 500;
font-size: clamp(28px, 3vw, 36px);
line-height: 99%;
letter-spacing: 0%;
font-stretch: 125%;
color: #000;
margin-bottom:15px;
}

.revops-card-cyan__text p{
font-weight: 400;
font-size: 20px;
line-height: 142%;
letter-spacing: 0%;
color: #000;
}

/* ====================================
   EVALUATION SECTION
   ==================================== */

.revops-evaluation {
  background: linear-gradient(180deg, #00d9ff 0%, #00bfff 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  padding: 60px 20px;
  position: relative;
}
 
.revops-evaluation__grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
}

.revops-evaluation__title {
  font-weight: 500;
  font-size: 40px;
  line-height: 99%;
  letter-spacing: 0%;
  text-align: center;
  font-stretch: 125%;
  color: #000;
  margin-bottom: 30px;
}

.revops-evaluation__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.revops-eval-item {
  border-radius: 12px;
  display: grid;
  align-items: center;
  transition: transform 0.3s ease;
  gap: 15px;
  margin-left: 25px;
  background-color: #15E9FF;
}
.revops-eval-item:has(.revops-eval-item__icon){
grid-template-columns: 1fr 2fr;
background-color: #fff;
}

.revops-eval-item__icon {
  padding-top: 10px;
  padding-bottom: 10px;
  margin-left: -25px;
}
.revops-eval-item__content{
  padding: 25px;
}
.revops-eval-item:has(.revops-eval-item__icon) .revops-eval-item__content{
  padding-top: 16px;
  padding-bottom: 16px;
  padding-right: 16px;
  padding-left: 0;
}
.revops-eval-item:not(:has(.revops-eval-item__icon)) .revops-eval-item__description p{
  font-weight: 500;
  font-size: 20px;
  line-height: 99%;
  letter-spacing: 0%;
  font-stretch: 110%;
  color: #000;
  text-align: left !important;
  font-stretch: 110%;
}
.revops-eval-item__icon img {
  width: 100%;
  max-height: 120px !important;
  object-fit: contain;
}

.revops-eval-item__title p{
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
  color: #000;
  margin: 0;
  font-stretch: 110%;
  margin-bottom: 5px;
}


.revops-eval-item__description p{
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.4;
  margin: 0;
}

/* Achievement List (Right Side) */
.revops-achievement__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.revops-achievement-item {
  background: #1e293b;
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.revops-achievement-item:hover {
  transform: translateX(5px);
}

.revops-achievement-item__number {
  font-weight: 500;
  font-size: 100px;
  line-height: 99%;
  letter-spacing: 0%;
  text-align: center;
  font-stretch: 110%;
  color: #15E9FF;
  margin: 0;
}

.revops-achievement-item__text p{
  font-weight: 400;
  font-size: 24px;
  line-height: 142%;
  letter-spacing: 0%;
  color: #fff;
}
.revops-achievement-item__text p strong{
  font-weight: 600;
}
.revops-achievement-item__text p em{
  color: #15E9FF;
}

/* ====================================
   BOTTOM SECTION
   ==================================== */

.revops-bottom {
  background-color: rgb(55, 118, 29, 0.2);
  padding: 60px 20px 80px;
}

.revops-bottom__header {
  text-align: center;
  margin-bottom: 50px;
}
.revops-bottom__header h2{
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 99%;
  letter-spacing: 0%;
  text-align: center;
  color: #fff;
  font-stretch: 110%;
}
.revops-bottom__header h2 em{
  color: #15E9FF;
  font-weight: 500;
}

.revops-bottom__main-text {
  font-size: 1.75rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.4;
  margin: 0;
}

.revops-bottom__main-text .highlight {
  color: #00d9ff;
  font-weight: 700;
}

.revops-bottom__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* FAQ Card */
.revops-faq-card {
  background: linear-gradient(135deg, #00d9ff 0%, #00bfff 100%);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 8px 24px rgba(0, 191, 255, 0.3);
}

.revops-faq-card__title h3{
  font-weight: 500;
  font-size: 35px;
  line-height: 90%;
  letter-spacing: 0%;
  font-stretch: 125%;
  margin: 0 0 28px 0;
}

.revops-faq-card__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.revops-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 1);
  padding-bottom: 15px;
}

.revops-faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.revops-faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 10px 0;
  gap: 15px;
}

.revops-faq-item__question::-webkit-details-marker {
  display: none;
}

.revops-faq-item__question-text {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
  color: #000;
  font-stretch: 110%;
  flex: 1;
}

.revops-faq-item__icon {
  font-size: calc(35px * var(--size-factor, 1));
  color: #fff;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
  font-weight: 500;
}

/* Desktop: Show + icon, hide chevron */
.revops-faq-item__icon--desktop {
  display: block;
}

.revops-faq-item__icon--mobile {
  display: none;
}

/* Desktop: Rotate + icon 45deg when open */
.revops-faq-item[open] .revops-faq-item__icon--desktop {
  transform: rotate(45deg);
}

/* Mobile: Show chevron, hide + icon */
@media (max-width: 768px) {
  .revops-faq-item__icon--desktop {
    display: none;
  }
  
  .revops-faq-item__icon--mobile {
    display: block;
  }
  
  /* Mobile: Rotate chevron 180deg when open */
  .revops-faq-item[open] .revops-faq-item__icon--mobile {
    transform: rotate(180deg);
  }
}

.revops-faq-item__answer {
  padding: 15px 0 5px 0;
  font-size: 15px;
  line-height: 1.25;
  color: #000;
  animation: fadeIn 0.3s ease;
}

.revops-faq-item__answer p {
  font-size: 15px !important;
  line-height: 1.25;
  color: #000;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA Card */
.revops-cta-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.revops-cta-card__title h2{
  font-weight: 500;
  font-size: clamp(30px, 3vw, 45px);
  line-height: 99%;
  letter-spacing: 0%;
  text-align: left;
  margin: 30px 0;
}

.revops-cta-card__text p{
  font-weight: 500;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 94%;
  letter-spacing: 0%;
  text-align: left;
}

.revops-cta-card__button {
  display: flex;
  background-color: #15E9FF;
  text-decoration: none;
  padding: 30px 24px;
  border-radius: 12px;
  gap: 20px;
  justify-content: flex-end;
  margin-top: 50px;
}

.revops-cta-card__button:hover {
  transform: translateY(-2px);
}
.revops-cta-card__button p{
  font-weight: 500;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 94%;
  letter-spacing: 0%;
  text-align: right;
  color: #000;
}
/* ====================================
   RESPONSIVE DESIGN - TABLET
   ==================================== */

@media (max-width: 992px) {
  

  .revops-diagnostico__grid,
  .revops-evaluation__grid,
  .revops-bottom__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .revops-cards-top__grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* ====================================
   RESPONSIVE DESIGN - MOBILE
   ==================================== */

@media (max-width: 768px) {
  .revops-header {
    padding: 16px;
    padding-top: 120px;
  }

 

  .revops-header__subtitle {
    font-size: 0.9rem;
  }

  .revops-header__arrow--desktop {
    display: none;
  }

  .revops-header__arrow--mobile {
    display: block;
  }

  .revops-diagnostico__arrow--desktop {
    display: none;
  }

  .revops-diagnostico__arrow--mobile {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }
  .revops-diagnostico__arrow--mobile img{
    width: 30px;
    height: 30px;
  }

  .revops-cards-top {
    padding: 30px 16px;
  }

  .revops-cards-top__grid {
    display: flex;
    gap: 5px;
  }

  .revops-card-simple {
    padding: 12px 8px;
    display: flex;
    align-items: center;
    width: max-content;
    gap: 5px;
  }
  .revops-card-simple.is-active{
    flex: 1;
    max-width: 350px;
  }

  .revops-card-simple__text {
    display: none;
  }

  .revops-card-simple.is-active .revops-card-simple__text {
    display: block;
    margin-top: 0px;
    font-size: 12px;
  }
.revops-card-simple__icon{
  width: auto;
  margin-bottom: 0px;
}
  .revops-card-simple__icon img {
    width: 40px;
    height: 40px;
  }

  .revops-diagnostico,
  .revops-evaluation,
  .revops-bottom {
    padding: 40px 20px;
  }

  .revops-diagnostico__title,
  .revops-evaluation__title {
    font-size: 1.5rem;
  }

  .revops-card-cyan,
  .revops-faq-card,
  .revops-cta-card {
    padding: 24px 20px;
  }

  .revops-eval-item {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  

  .revops-achievement-item {
    padding: 16px 20px;
  }

  .revops-achievement-item__number {
    font-size: 60px;
    width: 32px;
  }

  .revops-achievement-item__text {
    font-size: 0.85rem;
  }

    .revops-bottom__main-text {
    font-size: 1.25rem;
  }

  /* Mobile Tabs Behavior - Show all panels stacked */
  .revops-tab-panel {
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: block !important;
    margin-bottom: 40px;
    scroll-margin-top: 180px; /* Offset for sticky header + navigation */
  }
  
  .revops-tab-panel.is-exiting,
  .revops-tab-panel.is-active {
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: auto !important;
  }
}

  .revops-faq-card__title {
    font-size: 1.5rem;
  }

  .revops-faq-item__question-text {
    font-size: 14px;
  }

  .revops-faq-item__answer {
    padding-left: 0;
    margin-top: 8px;
  }

  .revops-cta-card__button {
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  .revops-diagnostico__arrow img {
    max-width: 150px;
  }
}

@media (max-width: 480px) {
 

  .revops-diagnostico__title,
  .revops-evaluation__title {
    font-size: 1.25rem;
  }

  .revops-bottom__main-text {
    font-size: 1.1rem;
  }

  .revops-achievement-item {
    flex-direction: row;
    gap: 12px;
  }

  .revops-faq-item__question-text {
    font-size: 13px;
  }
}
