/* ========================= */
/* VARIABLES GLOBALES       */
/* ========================= */
:root {
    --almost-white: hsl(0, 0%, 98%);
    --medium-gray: hsl(0, 0%, 41%);
    --almost-black: hsl(0, 0%, 8%);
}

/* ========================= */
/* RESETS Y BASE            */
/* ========================= */
* {
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Epilogue', sans-serif;
    background-color: black;
    color: #fff;
}

h1, h2, h3, h4, h5 {
    font-family: 'Epilogue', sans-serif;
    color: var(--almost-white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    font-family: 'Epilogue', sans-serif;
    color: var(--almost-white);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ========================= */
/* CONTENEDORES GENERALES   */
/* ========================= */
.container {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    max-width: 75rem; /* 1200px to rem */
}

/* ========================= */
/* NAVEGACIÓN               */
/* ========================= */
.nav {
  height: 5rem; /* Reduce height for mobile navigation */
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: -1rem; /* Mueve el menú hacia arriba */
  left: 0;
  right: 0;
  z-index: 10;
  background-color: #000; /* Fondo negro */
  padding: 1rem 2rem; /* Adjust padding */
}

.nav__hamburguer {
  width: 1.875rem; /* 30px to rem */
  height: 50%;
  background-image: url("../images/icon-menu.svg");
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  z-index: 100;
  transition: background-image 0.3s;
}

.nav__hamburguer--open {
  background-image: url("../images/icon-close-menu.svg");
  position: fixed; /* Ensure it stays fixed while scrolling */
  top: 1rem; /* Adjust position */
  right: 1rem; /* Adjust position */
  z-index: 1002; /* Ensure it stays above the menu */
  width: 2rem; /* Adjust size for better visibility */
  height: 2rem; /* Adjust size for better visibility */
  background-size: contain; /* Ensure the icon fits properly */
  background-repeat: no-repeat;
  background-position: center;
}

.nav__overlay {
  background-color: rgba(0, 0, 0, 0.9); /* Darker overlay */
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000; /* Ensure it overlays page content */
}

.nav__overlay--show {
  opacity: 1;
  pointer-events: all;
}

/* Add a transparent overlay to detect clicks outside the submenu */
.nav__overlay-click {
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 99;
  display: none;
}

.nav__inner--show ~ .nav__overlay-click {
  display: block;
}

.nav__menu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: #000;
  width: 75%; /* Adjust width for better visibility */
  max-width: 20rem; /* Limit maximum width */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1001; /* Ensure it overlays page content */
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5); /* Add shadow for depth */
}

.nav__list {
  padding: 4rem 0 0; /* Adjust padding for better spacing */
  margin: 0;
  overflow-y: auto; /* Enable scrolling if content exceeds height */
  list-style: none; /* Remove bullet points */
}

.nav__item {
  width: 80%;
  margin: 0 auto;
  color: #00ffba;
  cursor: pointer;
  padding: 1.25rem 0; /* 20px to rem */
}

.nav__item:has(.nav__parent) {
  padding: 0;
}

.nav__inner {
  list-style: none;
  padding: 0;
  width: 80%;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem; /* 24px to rem */
  overflow: hidden;
  height: 0;
  transition: height 0.4s;
}

.nav__parent {
  display: grid;
  align-items: center;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 0.5rem; /* 8px to rem */
  padding: 1.25rem 0; /* 20px to rem */
  -webkit-user-select: none;
  user-select: none;
}

.nav__link {
  text-decoration: none;
  color: #00ffba;
}

.nav__login {
  width: 90%;
  margin: 1.5rem auto 0; /* Reduced top margin for higher positioning */
  text-align: center;
  display: block;
  margin-top: auto;
  padding: 1.25rem 0; 
}

.nav__login--border {
  border-radius: 0; /* Removed rounded borders */
  margin-top: 20px;
  border: 1px solid var(--medium-gray);
}

.nav__sign {
  display: inline-block;
  color: #00ffba;
  padding: 0.8rem 1.5rem;
  text-decoration: none; /* Remove underline */
  transition: all 0.3s ease;
  border: 2px solid #00ffba;
  border-radius: 25px;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.nav__sign:hover {
  background-color: #00ffba;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 186, 0.4);
}


/* ========================= */
/* SECCIÓN PRINCIPAL        */
/* ========================= */
.main__grid {
    overflow: hidden;
    display: grid;
    grid-template-columns: 5% 1fr 5%;
    grid-template-areas:
        ".   text . "
        "img img img";
}

.main__article {
    padding: 3.5rem 0; /* 56px to rem */
    text-align: center;
    grid-area: text;
}

.main__title {
    font-size: 2rem;
}

.main__paragraph {
    line-height: 1.5;
    margin: 1.5rem 0; /* 24px to rem */
}

.main__cta {
    background-color: #fff;
    color: #000;
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 0; /* Removed rounded borders */
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.main__cta:hover {
    background-color: #00ffba;
    color: #000;
    transform: translateY(-2px);
}

.main__picture {
    grid-area: img;
    max-width: 37.5rem; /* 600px to rem */
    margin: 0 auto;
}

.main__img {
    width: 100%;
}

.main__brands {
    display: grid;
    gap: 1em;
    grid-auto-flow: column;
    grid-auto-columns: minmax(30px, 100px);
    align-items: center;
    justify-content: space-between;
    margin: 40px 0 80px;
}

.main__brand {
    width: 100%;
}

.nav__arrow {
    cursor: pointer;
    padding: 2px;
    border-radius: 2px;
    transition: background-color 0.2s;
}

.nav__arrow:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.nav__img {
    width: 13.75rem; /* 220px to rem */
    height: auto;
}

.nav__login--mobile {
    display: block;
    width: 90%;
    margin: 20px auto 0;
    text-align: center;
}

.nav__login--desktop {
    display: none;
}

.main__gradient-line {
    height: 0.25rem; /* 4px to rem */
    width: 100%; /* Ensure consistent width */
    background: linear-gradient(90deg, #00ffba, #00d4a8, #00a890);
    border-radius: 0; /* Removed rounded borders */
    margin: 1.5rem 0; /* 24px to rem */
    box-shadow: 0 0.125rem 0.3125rem rgba(0, 255, 186, 0.5); /* 2px and 5px to rem */
}

.nav__dropdown:hover .nav__link {
    text-decoration: underline; /* Add underline on hover */
    text-decoration-color: #00ffba; /* Use the same color as the link */
    text-decoration-thickness: 2px; /* Thickness of the underline */
    text-underline-offset: 3px; /* Offset for better visibility */
    transition: text-decoration-color 0.3s ease;
}

.nav__parent:hover {
    text-decoration: underline;
    text-decoration-color: #00ffba;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.3s ease;
}

/* From Uiverse.io by gharsh11032000 */ 
.animated-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px 36px;
    border: 4px solid;
    border-color: transparent;
    font-size: 16px;
    background-color: inherit;
    border-radius: 100px;
    font-weight: 600;
    color: #00ffba;
    box-shadow: 0 0 0 2px #00ffba;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none; /* Remove underline */
  }
  
  .animated-button svg {
    position: absolute;
    width: 24px;
    fill: #00ffba;
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  }
  
  .animated-button .arr-1 {
    right: 16px;
  }
  
  .animated-button .arr-2 {
    left: -25%;
  }
  
  .animated-button .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #00ffba;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  }
  
  .animated-button .text {
    position: relative;
    z-index: 1;
    transform: translateX(-12px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  }
  
  .animated-button:hover {
    box-shadow: 0 0 0 12px transparent;
    color: #212121;
    border-radius: 12px;
  }
  
  .animated-button:hover .arr-1 {
    right: -25%;
  }
  
  .animated-button:hover .arr-2 {
    left: 16px;
  }
  
  .animated-button:hover .text {
    transform: translateX(12px);
  }
  
  .animated-button:hover svg {
    fill: #212121;
  }
  
  .animated-button:active {
    transform: scale(0.95);
    box-shadow: 0 0 0 4px greenyellow;
  }
  
  .animated-button:hover .circle {
    width: 220px;
    height: 220px;
    opacity: 1;
  }
  
/**PROCESO**/
.process__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.process__step {
  flex: 1 1 40%;
  min-width: 320px;
  max-width: 48%;
  box-sizing: border-box;
  display: flex;
}

/* El último paso ocupa todo el ancho */
.process__step:last-child {
  flex-basis: 100%;
  max-width: 100%;
}

.process__step-content {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* reduce el espacio entre icono y texto */
  margin-bottom: 1.2rem;
  width: 100%;
}

.process__icon {
  flex-shrink: 0;
  width: 8rem;
  height: 8rem;
  object-fit: contain;
  margin-right: 0.5rem;
  margin-left: 0;
  margin-bottom: 0;
  border-radius: 0; /* Removed rounded borders */
}

.process__step-title {
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.process__step-description {
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.process__title {
  text-align: center;
  font-size: 2.5rem; /* Increased font size */
  font-weight: bold;
  color: var(--almost-white);
  margin-bottom: 1.5rem;
}

.process.container {
  max-width: 1200px; /* Match the width of the "Por qué elegirnos" section */
  margin-left: auto;
  margin-right: auto;
  padding: 2rem; /* Add consistent padding */
}

.choose-us {
    margin-top: 4rem;
    text-align: center;
}

.choose-us__title {
    font-size: 2.5rem;
    color: var(--almost-white);
    margin-bottom: 1rem;
}

.choose-us__grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    grid-template-rows: repeat(3, 1fr); /* Three equal rows */
    gap: 1.5rem; /* Space between items */
    margin-top: 2rem;
}

.choose-us__item {
    background-color: #222;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.choose-us__item--wide {
    grid-column: 1 / 3; /* Spans both columns */
    grid-row: 1 / 2; /* First row */
    padding: 0; /* Remove padding to allow the image to occupy the full container */
}

.choose-us__item:nth-child(2),
.choose-us__item:nth-child(3) {
    grid-column: span 1; /* Each occupies one column */
    grid-row: 2 / 3; /* Second row */
}

.choose-us__item:nth-child(6) {
    grid-column: 1 / 3; /* Spans both columns */
    grid-row: 3 / 4; /* Bottom row */
    padding: 2rem; /* Increased padding */
    font-size: 1.2rem; /* Increased font size */
}

.choose-us__item-title {
    font-size: 1.5rem;
    color: var(--almost-white);
    margin-bottom: 0.5rem;
}

.choose-us__item-description {
    font-size: 1rem;
    color: var(--medium-gray);
    line-height: 1.5;
}

.choose-us__item--wide img {
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    object-fit: cover; /* Ensure the image scales properly */
    border-radius: 10px; /* Match the rounded borders of B */
}



/**BENEFICIOS**/ 

  .seccion-beneficios {
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
  }
  
  .titulo-beneficios {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .titulo-beneficios h2 {
    color: white;
    font-weight: 700;
    font-size: 2rem;
    margin: 0;
  }
  

  .beneficios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
  }
  
  .image-box {
    grid-row: 1 / span 2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;

  }
  
  .image-box img {
    width: 100%;
    height: auto;
    border-radius: 0; /* Removed rounded borders */
  }
  
  .feature-card {
    background-color: #1a1a27;
    border-radius: 0; /* Removed rounded borders */
    padding: 1.5rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center the text */
    align-items: center;
    text-align: center;
    height: 100%; /* Ensure the card has a defined height */
    position: relative; /* Enable positioning for child elements */
    text-decoration: none; /* Remove underline */
    color: inherit; /* Use inherited text color */
  }
  
  .feature-card h3 {
    color: #00ffba;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .feature-card p {
    margin: 0;
    font-size: 0.9rem; /* Reduced font size for paragraphs */
    color: #ccc;
    line-height: 1.5;
  }

.main__cta-container {
    display: flex;
    gap: 1rem; /* Space between buttons */
    justify-content: center; /* Center the buttons horizontally */
    align-items: center; /* Align buttons vertically */
}
/* ========================= */
/* PREGUNTAS FRECUENTES        */
/* ========================= */
.faq-section {
    margin-top: 4rem;
    text-align: center;
  }
  
  .faq-carousel-wrapper {
    position: relative;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }
  
  .faq-carousel {
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
  }
  
  .faq-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s ease-in-out;
    width: fit-content; /* ✅ Deja que el contenido defina el ancho */
  }
  
  .faq-section .card {
    background-color: #1a1a27;
    border-radius: 0; /* Removed rounded borders */
    padding: 1.5rem;
    min-width: calc(33.33% - 1rem); /* Adjust width for 3 cards */
    max-width: calc(33.33% - 1rem); /* Adjust width for 3 cards */
    flex: 0 0 auto;
    color: white;
    box-shadow: 0 0 15px rgba(0, 255, 186, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .faq-section .card .text span {
    color: #00ffba;
    font-weight: 700;
    font-size: 1.1rem;
  }
  
  .faq-section .card .subtitle {
    font-size: 0.95rem;
    color: #ccc;
    margin-top: 0.5rem;
  }
  
  .faq-section .btn {
    background: none;
    border: none;
    cursor: pointer;
  }
  
  .faq-btn {
    background-color: transparent;
    border: 1.5px solid #00ffba;
    color: #00ffba;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 6px rgba(0, 255, 186, 0.4);
    position: relative;
  }
  
  .faq-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 14px 3px rgba(0, 255, 186, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
  }
  
  .faq-btn:hover {
    background-color: #00ffba;
    color: #000;
    transform: scale(1.08);
  }
  
  .faq-btn:hover::after {
    opacity: 1;
  }
  
  .faq-btn:active {
    transform: scale(0.95);
  }
  
  @media (max-width: 768px) {
    .faq-carousel {
        padding: 0 1rem;
        width: 100%;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: auto; /* Firefox */
    }

    .faq-carousel::-webkit-scrollbar {
        height: 8px;
        background-color: transparent;
    }

    .faq-carousel::-webkit-scrollbar-thumb {
        background-color: #00ffba;
        border-radius: 4px;
    }

    .faq-section .card {
        scroll-snap-align: center; /* Ensure cards align properly */
        min-width: 45%; /* Adjust width for better visibility */
        max-width: 45%;
        padding: 0.7rem;
        font-size: 0.8rem;
        flex: 0 0 auto;
        height: auto;
    }

    .faq-track {
        display: flex;
        gap: 0.7rem; /* Maintain spacing between cards */
        padding-bottom: 0.7rem;
    }

    .faq-carousel-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .faq-btn {
        display: none; /* Hide navigation buttons on mobile */
    }
  }
   
/**CONTACTO**/
.form-container {
    width: 600px; /* Increased width */
    background: linear-gradient(#212121, #212121) padding-box,
                linear-gradient(145deg, transparent 35%, #00ffba, #40c9ff) border-box; /* Updated to aqua green */
    border: 2px solid transparent;
    padding: 48px 32px; /* Increased padding */
    font-size: 16px; /* Increased font size */
    font-family: inherit;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 24px; /* Increased gap */
    box-sizing: border-box;
    border-radius: 0; /* Removed rounded borders */
  }
  
  .form-container button:active {
    scale: 0.95;
  }
  
  .form-container .form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .form-container .form-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
  .form-container .form-group label {
    display: block;
    margin-bottom: 5px;
    color: #717171;
    font-weight: 600;
    font-size: 12px;
  }
  
  .form-container .form-group input {
    width: 100%;
    padding: 16px 20px; /* Increased padding */
    border-radius: 10px; /* Slightly larger border radius */
    color: #fff;
    font-family: inherit;
    background-color: transparent;
    border: 1px solid #414141;
  }
  
  .form-container .form-group textarea {
    width: 100%;
    padding: 16px 20px; /* Increased padding */
    border-radius: 10px; /* Slightly larger border radius */
    resize: none;
    color: #fff;
    height: 150px; /* Increased height */
    border: 1px solid #414141;
    background-color: transparent;
    font-family: inherit;
  }
  
  .form-container .form-group input::placeholder {
    opacity: 0.5;
  }
  
  .form-container .form-group input:focus,
.form-container .form-group textarea:focus {
    outline: none;
    border-color: #00ffba; /* Aqua green focus color */
  }
  
  .form-container .form-submit-btn {
    display: flex;
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
    align-self: center; /* Center the button within the form */
    font-family: inherit;
    color: #ffffff;
    font-weight: 600;
    width: 50%; /* Adjust button width */
    background: #00a576;
    border: 1px solid #00a576;
    padding: 16px 20px;
    font-size: 16px;
    gap: 8px;
    margin-top: 8px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
  }
  
  .form-container .form-submit-btn:hover {
    background-color: #008a63;
    border-color: #008a63;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 165, 118, 0.4);
  }

  .form-container .form-submit-btn:focus,
  .form-container .form-submit-btn:active {
    background-color: #007050;
    border-color: #007050;
    color: #ffffff;
    outline: 2px solid #00a576;
    outline-offset: 2px;
  }
  
  .form-buttons {
    display: flex;
    flex-direction: row; /* Esto asegura que los botones se alineen en una sola línea */
    gap: 1rem; /* Espacio entre los botones */
    justify-content: center; /* Centra los botones horizontalmente */
    width: 100%; /* Asegura que ocupe el ancho completo del formulario */
  }

  .form-submit-btn, .whatsapp-btn {
    width: auto; /* Ajusta el ancho de los botones */
    padding: 16px 20px; /* Asegura que los botones tengan el tamaño adecuado */
  }

  .contact__section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px; /* Space between form and thank you section */
    max-width: 1200px; /* Match the main width */
    margin: 0 auto; /* Center the section */
}

.contact__section .form-container,
.contact__section .thank-you {
    width: 50%; /* Each takes up half of the section container */
}

.contact__section .thank-you {
    width: 50%; /* Ajusta el ancho */
    background-color: #212121;
    padding: 48px 32px;
    color: var(--almost-white);
    font-size: 16px;
    line-height: 1.6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin: 0 auto 2rem; /* Combina márgenes */
}

.thank-you__icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    padding-top: 1rem; /* Add separation from the thank-you content */
}

.thank-you__icons img {
    width: 40px;
    height: 40px;
}

.thank-you__contact-list {
    list-style: none; /* Remove default list styling */
    padding: 0;
    margin: 1rem 0; /* Add spacing around the list */
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 0.5rem; /* Add spacing between items */
    font-size: 1rem; /* Improve readability */
    color: var(--almost-white); /* Ensure consistent text color */
}

.thank-you__contact-list li {
    display: flex;
    align-items: center; /* Align text and icons */
    gap: 0.5rem; /* Space between icon and text */
}

.thank-you__contact-list li::before {
    content: "•"; /* Add a bullet point */
    color: var(--medium-gray); /* Bullet color */
    font-size: 1.2rem; /* Slightly larger bullet */
}

.contact__header {
    text-align: center;
    margin-bottom: 2rem; /* Add spacing below the header */
}

.contact__title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--almost-white);
    margin-bottom: 1rem; /* Space between title and gradient line */
}



@media (min-width:768px) {
    .nav {
        gap: 2em;
        overflow: visible;
        padding: 50px 0 0;
        height: 8rem; /* Increase height for desktop navigation */
        background-color: #000; /* Ensure the black area is larger */
    }

    .nav__hamburguer {
        display: none;
    }

    .nav__overlay {
        position: unset;
        background-color: transparent;
        opacity: 1;
        pointer-events: unset;
        flex: 1;
    }

    .nav__menu {
        position: unset;
        width: 100%;
        max-width: unset;
        background-color: unset;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        flex: 1;
    }

    .nav__list {
        display: flex;
        align-items: center;
        gap: 1em;
        padding: 0;
        overflow: unset;
        list-style: none; /* Remove bullet points */
    }

    .nav__item {
        width: max-content;
        margin: 0;
        padding: 0;
        position: relative;
    }

    .nav__inner {
        position: absolute;
        left: 0;
        padding: 2em;
        width: max-content;
        height: auto;
        background-color: #000;
        z-index: 1000;
        border-radius: 10px;
        border: 1px solid #333;
        box-shadow: 0 0 10px 0 rgba(255, 255, 255, .2);
        transition: opacity .3s;
        opacity: 0;
        pointer-events: none;
    }

    .nav__inner--show {
        opacity: 1;
        pointer-events: unset;
    }

    .nav__login {
        display: none;
    }

    .nav__login--desktop {
        display: block;
    }

    .nav__login--border {
        margin: 0;
        padding: 0 1.5em;
    }

    .nav__login--mobile {
        display: none;
    }

    .main__grid {
        margin: 0 auto;
        max-width: 1200px;
        width: 90%;
        gap: 2em;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
        "text img";
        padding: 70px 0;
    }

    .main__picture {
        max-height: 650px;
        grid-area: img;
    }

    .main__img {
        height: 100%;
    }

    .main__article {
        text-align: left;
        padding: 0;
        display: flex;
        flex-direction: column;
        grid-area: text;
    }

    .main__brands {
        margin: auto 0 0 0;
    }

    .main__texts {
        margin: auto 0;
    }

    .main__title {
        font-size: 3.5rem;
    }

    .main__paragraph {
        margin: 2em 0;
    }

    .process__step:last-child .process__icon {
      width: 12rem;
      height: 12rem;
    }

    .process__step:last-child .process__step-title {
      font-size: 1.5rem;
    }

    .process__step:last-child .process__step-description {
      font-size: 1.15rem;
    }
}

@media (max-width: 767px) {
  .process__steps {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .process__step {
    max-width: 100%;
    min-width: 0;
    flex-basis: 100%;
    justify-content: center;
  }
  .process__step-content {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    text-align: center;
    width: 100%;
  }
  .process__icon {
    margin: 0 0 0.5rem 0;
    width: 12rem;
    height: 12rem;
    display: block;
  }
  .process__step-title,
  .process__step-description {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .process__step-title {
    font-size: 1.5rem; /* Increased font size for mobile view */
    text-decoration: underline; /* Add underline */
    text-decoration-color: #00ffba; /* Set underline color */
  }
}

@media (max-width: 768px) {
    .nav__img {
        width: 160px; /* Reduced size */
        display: block;
        margin: 10px auto; /* Keeps it slightly lower */
    }
}
@media (max-width: 768px) {
    .beneficios {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
    }
  
    .image-box {
      display: none;
    }
  
    .feature-card {
      min-height: auto;
    }
  }

.footer {
    background-color: black;
    color: var(--almost-white);
    padding: 3rem 1.5rem; /* Increased padding for a more spacious footer */
    text-align: center;
    position: relative;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3); /* Adds depth with a subtle shadow */
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%; /* Ensures it spans the full width */
}

.footer__links-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

.footer__logo img {
    width: 130px; /* Slightly larger logo */
    height: auto;
    border-radius: 0;
}

.footer__list {
    display: flex;
    gap: 2rem; /* More space between links */
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__link {
    text-decoration: none;
    color: var(--almost-white);
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 1.1rem; /* Slightly larger text for better readability */
}

.footer__link:hover {
    color: #00ffba; /* Accent color on hover */
}

.footer__watermark {
    text-align: center;
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin-top: 1rem; /* Adds space from the main footer content */
    width: 100%; /* Ensure it spans the full width */
}

/* Responsive footer adjustments */
@media (max-width: 768px) {
    .footer__content {
        flex-direction: column; /* Stack items vertically for smaller screens */
        text-align: center;
    }

    .footer__logo img {
        width: 100px; /* Resize logo for mobile */
    }

    .footer__list {
        flex-direction: column; /* Stack the links */
        gap: 1.5rem;
    }

    .footer__watermark {
        margin-top: 1.5rem; /* Slightly more space at the bottom */
    }
}


.contact__section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px; /* Space between form and thank you section */
    max-width: 1200px; /* Match the main width */
    margin: 0 auto; /* Center the section */
}

.contact__section .form-container,
.contact__section .thank-you {
    width: 50%; /* Each takes up half of the section container */
}

.contact__section .thank-you {
    width: 50%; /* Ajusta el ancho */
    background-color: #212121;
    padding: 48px 32px;
    color: var(--almost-white);
    font-size: 16px;
    line-height: 1.6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin: 0 auto 2rem; /* Combina márgenes */
}

.thank-you__icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    padding-top: 1rem; /* Add separation from the thank-you content */
}

.thank-you__icons img {
    width: 40px;
    height: 40px;
}

.thank-you__contact-list {
    list-style: none; /* Remove default list styling */
    padding: 0;
    margin: 1rem 0; /* Add spacing around the list */
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 0.5rem; /* Add spacing between items */
    font-size: 1rem; /* Improve readability */
    color: var(--almost-white); /* Ensure consistent text color */
}

.thank-you__contact-list li {
    display: flex;
    align-items: center; /* Align text and icons */
    gap: 0.5rem; /* Space between icon and text */
}

.thank-you__contact-list li::before {
    content: "•"; /* Add a bullet point */
    color: var(--medium-gray); /* Bullet color */
    font-size: 1.2rem; /* Slightly larger bullet */
}

.contact__header {
    text-align: center;
    margin-bottom: 2rem; /* Add spacing below the header */
}

.contact__title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--almost-white);
    margin-bottom: 1rem; /* Space between title and gradient line */
}



@media (min-width:768px) {
    .nav {
        gap: 2em;
        overflow: visible;
        padding: 50px 0 0;
        height: 8rem; /* Increase height for desktop navigation */
        background-color: #000; /* Ensure the black area is larger */
    }

    .nav__hamburguer {
        display: none;
    }

    .nav__overlay {
        position: unset;
        background-color: transparent;
        opacity: 1;
        pointer-events: unset;
        flex: 1;
    }

    .nav__menu {
        position: unset;
        width: 100%;
        max-width: unset;
        background-color: unset;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        flex: 1;
    }

    .nav__list {
        display: flex;
        align-items: center;
        gap: 1em;
        padding: 0;
        overflow: unset;
        list-style: none; /* Remove bullet points */
    }

    .nav__item {
        width: max-content;
        margin: 0;
        padding: 0;
        position: relative;
    }

    .nav__inner {
        position: absolute;
        left: 0;
        padding: 2em;
        width: max-content;
        height: auto;
        background-color: #000;
        z-index: 1000;
        border-radius: 10px;
        border: 1px solid #333;
        box-shadow: 0 0 10px 0 rgba(255, 255, 255, .2);
        transition: opacity .3s;
        opacity: 0;
        pointer-events: none;
    }

    .nav__inner--show {
        opacity: 1;
        pointer-events: unset;
    }

    .nav__login {
        display: none;
    }

    .nav__login--desktop {
        display: block;
    }

    .nav__login--border {
        margin: 0;
        padding: 0 1.5em;
    }

    .nav__login--mobile {
        display: none;
    }

    .main__grid {
        margin: 0 auto;
        max-width: 1200px;
        width: 90%;
        gap: 2em;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
        "text img";
        padding: 70px 0;
    }

    .main__picture {
        max-height: 650px;
        grid-area: img;
    }

    .main__img {
        height: 100%;
    }

    .main__article {
        text-align: left;
        padding: 0;
        display: flex;
        flex-direction: column;
        grid-area: text;
    }

    .main__brands {
        margin: auto 0 0 0;
    }

    .main__texts {
        margin: auto 0;
    }

    .main__title {
        font-size: 3.5rem;
    }

    .main__paragraph {
        margin: 2em 0;
    }

    .process__step:last-child .process__icon {
      width: 12rem;
      height: 12rem;
    }

    .process__step:last-child .process__step-title {
      font-size: 1.5rem;
    }

    .process__step:last-child .process__step-description {
      font-size: 1.15rem;
    }
}

@media (max-width: 767px) {
  .process__steps {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .process__step {
    max-width: 100%;
    min-width: 0;
    flex-basis: 100%;
    justify-content: center;
  }
  .process__step-content {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    text-align: center;
    width: 100%;
  }
  .process__icon {
    margin: 0 0 0.5rem 0;
    width: 12rem;
    height: 12rem;
    display: block;
  }
  .process__step-title,
  .process__step-description {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .process__step-title {
    font-size: 1.5rem; /* Increased font size for mobile view */
    text-decoration: underline; /* Add underline */
    text-decoration-color: #00ffba; /* Set underline color */
  }
}

@media (max-width: 768px) {
    .nav__img {
        width: 160px; /* Reduced size */
        display: block;
        margin: 10px auto; /* Keeps it slightly lower */
    }
}
@media (max-width: 768px) {
    .beneficios {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
    }
  
    .image-box {
      display: none;
    }
  
    .feature-card {
      min-height: auto;
    }
  }

.footer {
    background-color: black;
    color: var(--almost-white);
    padding: 3rem 1.5rem; /* Increased padding for a more spacious footer */
    text-align: center;
    position: relative;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3); /* Adds depth with a subtle shadow */
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%; /* Ensures it spans the full width */
}

.footer__links-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

.footer__logo img {
    width: 130px; /* Slightly larger logo */
    height: auto;
    border-radius: 0;
}

.footer__list {
    display: flex;
    gap: 2rem; /* More space between links */
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__link {
    text-decoration: none;
    color: var(--almost-white);
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 1.1rem; /* Slightly larger text for better readability */
}

.footer__link:hover {
    color: #00ffba; /* Accent color on hover */
}

.footer__watermark {
    text-align: center;
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin-top: 1rem; /* Adds space from the main footer content */
    width: 100%; /* Ensure it spans the full width */
}

/* Responsive footer adjustments */
@media (max-width: 768px) {
    .footer__content {
        flex-direction: column; /* Stack items vertically for smaller screens */
        text-align: center;
    }

    .footer__logo img {
        width: 100px; /* Resize logo for mobile */
    }

    .footer__list {
        flex-direction: column; /* Stack the links */
        gap: 1.5rem;
    }

    .footer__watermark {
        margin-top: 1.5rem; /* Slightly more space at the bottom */
    }
}


.contact__section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px; /* Space between form and thank you section */
    max-width: 1200px; /* Match the main width */
    margin: 0 auto; /* Center the section */
}

.contact__section .form-container,
.contact__section .thank-you {
    width: 50%; /* Each takes up half of the section container */
}

.contact__section .thank-you {
    width: 50%; /* Ajusta el ancho */
    background-color: #212121;
    padding: 48px 32px;
    color: var(--almost-white);
    font-size: 16px;
    line-height: 1.6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin: 0 auto 2rem; /* Combina márgenes */
}

.thank-you__icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    padding-top: 1rem; /* Add separation from the thank-you content */
}

.thank-you__icons img {
    width: 40px;
    height: 40px;
}

.thank-you__contact-list {
    list-style: none; /* Remove default list styling */
    padding: 0;
    margin: 1rem 0; /* Add spacing around the list */
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 0.5rem; /* Add spacing between items */
    font-size: 1rem; /* Improve readability */
    color: var(--almost-white); /* Ensure consistent text color */
}

.thank-you__contact-list li {
    display: flex;
    align-items: center; /* Align text and icons */
    gap: 0.5rem; /* Space between icon and text */
}

.thank-you__contact-list li::before {
    content: "•"; /* Add a bullet point */
    color: var(--medium-gray); /* Bullet color */
    font-size: 1.2rem; /* Slightly larger bullet */
}

.contact__header {
    text-align: center;
    margin-bottom: 2rem; /* Add spacing below the header */
}

.contact__title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--almost-white);
    margin-bottom: 1rem; /* Space between title and gradient line */
}



@media (max-width: 768px) {
    .nav {
    height: 6rem; /* Further reduce height for smaller screens */
    padding: 0.5rem 0; /* Adjust padding for smaller screens */
  }
}

@media (max-width: 768px) {
    .contact__section {
        flex-direction: column; /* Stack sections vertically */
        align-items: center; /* Center sections */
        gap: 24px; /* Reduce gap for smaller screens */
    }

    .contact__section .form-container,
    .contact__section .thank-you {
        width: 90%; /* Adjust width for better centering */
        text-align: center; /* Center text content */
    }

    .thank-you__contact-list {
        align-items: center; /* Center the contact list items */
    }
}

@media (max-width: 768px) {
    .faq-carousel {
      padding: 0 1rem;
      width: 100%;
      overflow-x: auto !important;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: auto; /* Firefox */
    }
  
    .faq-carousel::-webkit-scrollbar {
      height: 8px;
      background-color: transparent;
    }
  
    .faq-carousel::-webkit-scrollbar-thumb {
      background-color: #00ffba;
      border-radius: 4px;
    }
  }

.cta-section {
    margin: 3rem auto; /* Centra la sección horizontalmente */
    max-width: 1200px; /* Limita el ancho máximo */
    text-align: center; /* Centra el contenido dentro de la sección */
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center; /* Centra el contenido horizontalmente */
}

.cta-image {
    flex: 1;
}

.cta-img {
    width: 100%;
    height: auto;
}

.cta-text {
    flex: 1;
}

.cta-text h2 {
  font-size: 2.5rem; /* Incrementa el tamaño del título */
}

.cta-text p {
  font-size: 1.25rem; /* Incrementa el tamaño del párrafo */
  line-height: 1.8; /* Mejora la legibilidad */
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.button {
  --primary: #ff5569;
  --neutral-1: #f7f8f7;
  --neutral-2: #e7e7e7;
  --radius: 14px;

  cursor: pointer;
  border-radius: var(--radius);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  border: none;
  box-shadow: 0 0.5px 0.5px 1px rgba(255, 255, 255, 0.2),
    0 10px 20px rgba(0, 0, 0, 0.2), 0 4px 5px 0px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  min-width: 200px;
  padding: 20px;
  height: 68px;
  font-family: "Galano Grotesque", Poppins, Montserrat, sans-serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 600;
  background-color: var(--neutral-1);
  color: var(--primary);
}

.button:hover {
  transform: scale(1.02);
  box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.3),
    0 15px 30px rgba(0, 0, 0, 0.3), 0 10px 3px -3px rgba(0, 0, 0, 0.04);
}

.button:active {
  transform: scale(1);
  box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.3),
    0 10px 3px -3px rgba(0, 0, 0, 0.2);
}

.button:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 2.5px solid transparent;
  background: linear-gradient(var(--neutral-1), var(--neutral-2)) padding-box,
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45))
      border-box;
  z-index: 0;
  transition: all 0.4s ease;
}

.button:hover::after {
  transform: scale(1.05, 1.1);
  box-shadow: inset 0 -1px 3px 0 rgba(255, 255, 255, 1);
}

.nav__parent, .nav__link {
    text-decoration: none; /* Elimina el subrayado */
    color: inherit; /* Usa el color heredado */
    font-weight: inherit; /* Usa el peso de fuente heredado */
}

@media (max-width: 768px) {
    .cta-section {
        padding: 2rem 1rem; /* Agrega espacio interno para evitar cortes */
    }

    .cta-section .cta-content {
        flex-direction: column; /* Apila los elementos verticalmente */
        align-items: center; /* Centra los elementos */
        gap: 1.5rem; /* Espaciado entre los elementos */
    }

    .cta-section .cta-image,
    .cta-section .cta-text {
        width: 100%; /* Ocupan todo el ancho */
        text-align: center; /* Centra el texto */
    }

    .cta-section .cta-text h2 {
        font-size: 1.8rem; /* Ajusta el tamaño del título */
    }

    .cta-section .cta-text p {
        font-size: 1rem; /* Ajusta el tamaño del párrafo */
    }

    .cta-section .cta-img {
        max-width: 100%; /* Asegura que la imagen no se corte */
        height: auto; /* Mantiene proporciones */
    }
}



/* ========================= */
/* ABOUT SECTION            */
/* ========================= */
.about-section {
  margin: 3rem auto; /* Center the section horizontally */
  max-width: 1200px; /* Limit the maximum width */
  text-align: center; /* Center the content */
}

.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center; /* Center the content horizontally */
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem; /* Increase heading size */
}

.about-text p {
  font-size: 1.25rem; /* Increase paragraph size */
  line-height: 1.8; /* Improve readability */
}

.about-image {
  flex: 1;
}

.about-img {
  width: 80%; /* Reduced width */
  max-width: 400px; /* Limit maximum width */
  height: auto;
  margin: 0 auto; /* Center the image */
}

@media (max-width: 768px) {
  .about-section {
    padding: 2rem 1rem; /* Add internal spacing */
  }

  .about-content {
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center elements */
    gap: 1.5rem; /* Space between elements */
  }

  .about-text,
  .about-image {
    width: 100%; /* Full width */
    text-align: center; /* Center text */
  }

  .about-text h2 {
    font-size: 1.8rem; /* Adjust heading size */
  }

  .about-text p {
    font-size: 1rem; /* Adjust paragraph size */
  }

  .about-img {
    max-width: 100%; /* Ensure image doesn't overflow */
    height: auto; /* Maintain proportions */
  }
}

@media (min-width: 768px) {
  .process__step-title {
    font-size: 1.25rem; /* Slightly larger font size for desktop view */
  }
}

/* ========================= */
/* WHATSAPP BUTTON STYLES   */
/* ========================= */
.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #25D366; /* WhatsApp green */
  color: #fff;
  font-weight: 700;
  text-decoration: none; /* Remove underline for link */
  border: none;
  padding: 16px 24px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #1DA851; /* Darker green on hover */
  transform: translateY(-3px); /* Slight lift effect */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Enhance shadow on hover */
}

.whatsapp-btn:active {
  transform: scale(0.98); /* Slight scale effect on click */
}

.whatsapp-icon {
  width: 28px; /* Slightly larger icon */
  height: 28px;
}


.whatsapp-btn:active {
  transform: scale(0.98); /* Slight scale effect on click */
}

.whatsapp-icon {
  width: 28px; /* Slightly larger icon */
  height: 28px;
}


.card {
    width: 270px;
    height: 340px;
    margin: 0 auto;
    background-color: #011522;
    border-radius: 8px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Asegura que el contenido inicia arriba */
    align-items: center;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 255, 186, 0.15);
    padding: 0;
}

.tools {
    display: flex;
    align-items: center;
    padding: 9px;
}

.circle {
    padding: 0 4px;
}

.box {
    display: inline-block;
    align-items: center;
    width: 10px;
    height: 10px;
    padding: 1px;
    border-radius: 50%;
}

.red {
    background-color: #ff605c;
}

.yellow {
    background-color: #ffbd44;
}

.green {
    background-color: #00ca4e;
}

.nosotros {
  padding-top: 8rem; /* Add space for fixed navigation */
  padding-bottom: 2rem;
}

.nosotros__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0px; /* Remove gap between grid items */
  padding: 2rem 0;
}

.nosotros__card {
  background-color: #1a1a27;
  padding: 1rem; /* Reduced from 2rem */
  border: none; /* Elimina el borde cuadrado */
  text-align: left; /* Changed from center to left */
  color: var(--almost-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* Changed from center to flex-start */
  position: relative; /* Add relative positioning for absolute child elements */
}

.nosotros__card .material-symbols-outlined {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #00ffba;
  font-size: 3rem; /* Increased from 2rem to 3rem */
  opacity: 0.3; /* Add opacity to make it more subtle */
}

.nosotros__card:nth-child(1) {
  grid-column-start: 1;
  grid-row-start: 1;
  border-right: 2px solid rgba(0, 255, 186, 0.2); /* Right border */
  border-bottom: 2px solid rgba(0, 255, 186, 0.2); /* Bottom border */
}

.nosotros__card:nth-child(2) {
  grid-column-start: 1;
  grid-row-start: 2;
  border-right: 2px solid rgba(0, 255, 186, 0.2); /* Right border */
}

.nosotros__card:nth-child(3) {
  grid-column-start: 2;
  grid-row-start: 2;
}

.nosotros__card:nth-child(4) {
  grid-column-start: 2;
  grid-row-start: 1;
  border-bottom: 2px solid rgba(0, 255, 186, 0.2); /* Bottom border */
}

.nosotros__image {
  grid-row: span 2 / span 2;
  grid-column-start: 3;
  grid-row-start: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
}

.nosotros__card h3, .nosotros__card h2 {
  color: #00ffba;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.nosotros__card p {
  color: var(--almost-white);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.nosotros__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .nosotros__grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .nosotros__card, .nosotros__image {
    grid-column: 1;
    grid-row: auto;
    border: none; /* Remove borders on mobile */
  }
  
  .nosotros__card {
    padding: 0.8rem; /* Further reduced padding for mobile */
    text-align: left; /* Ensure left alignment on mobile too */
    align-items: flex-start; /* Ensure left alignment on mobile too */
  }
  
  .nosotros__image {
    min-height: 250px;
    order: -1; /* Mueve la imagen arriba si querés */

  }
}
.equipo__grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 4rem; /* Added separation between sections */
}

.equipo__card {
  background-color: #1a1a27;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 255, 186, 0.2);
  padding: 2rem;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.equipo__card:hover {
  /* Removed transform and box-shadow hover effects */
}

.equipo__tools {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.equipo__circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.equipo__box {
  display: block;
  width: 100%;
  height: 100%;
}

.equipo__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    flex: 1 1 auto;
}

.equipo__icon {
    width: 50px;
    height: 50px;
    margin-top: auto; /* Empuja el icono al fondo de la carta */
    margin-bottom: 1.5rem; /* Espacio inferior opcional */
}

.services {
    text-align: center;
    margin: 6rem auto;
}


.services__title {
    color: #00ffba;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    justify-items: center;
    align-items: center;
}

.services__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; /* Más espacio entre icono y texto */
    color: var(--almost-white);
    font-size: 1.35rem; /* Más grande el texto */
    padding: 2.5rem 1.5rem; /* Más padding */
    min-width: 220px; /* Asegura mayor tamaño mínimo */
    min-height: 220px; /* Asegura mayor tamaño mínimo */
    transition: transform 0.3s cubic-bezier(.23,1,.32,1), box-shadow 0.3s, border 0.3s;
    box-shadow: none; /* Elimina cualquier sombra por defecto */
    border: none;     /* Sin borde */
    cursor: pointer; /* Cambia el cursor a mano en hover */
}

.services__item:hover {
    transform: scale(1.07);
    box-shadow: none; /* Elimina el rectángulo iluminado */
    border: none;     /* Sin borde */
    z-index: 2;
}

.services__item:hover .services__icon {
    box-shadow: 0 0 24px 4px #00ffba;
    background-color: #00ffba;
    transition: box-shadow 0.3s, background-color 0.3s;
}

.services__icon {
    background-color: #002b1f;
    border-radius: 50%;
    padding: 2.5rem; /* Más grande el icono */
    width: 140px; /* Más ancho */
    height: 140px; /* Más alto */
    object-fit: contain;
    transition: box-shadow 0.3s, background-color 0.3s;
}

.services__item p {
    font-size: 1.35rem; /* Más grande el texto debajo del icono */
    font-weight: 600;
    margin: 0;
    text-align: center;
}

@media (max-width: 768px) {
    .services__grid {
        grid-template-columns: 1fr 1fr; /* Dos por línea en móviles */
    }
    .services__item {
        min-width: 160px;
        min-height: 160px;
        padding: 1.5rem 0.5rem;
        font-size: 1.1rem;
    }
    .services__icon {
        width: 100px;
        height: 100px;
        padding: 1.5rem;
    }
    .services__item p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .services__grid {
        grid-template-columns: 1fr 1fr;
    }
    .services__item {
        min-width: 120px;
        min-height: 120px;
        padding: 1rem 0.2rem;
        font-size: 1rem;
    }
    .services__icon {
        width: 80px;
        height: 80px;
        padding: 1rem;
    }
    .services__item p {
        font-size: 1rem;
    }
}
.que-hacemos__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6rem;
    padding: 4rem 0;
}

.que-hacemos__text {
    flex: 1;
    max-width: 550px;
}

.que-hacemos__text h3 {
    font-size: 2.4rem;
    color: #00ffba;
    margin-bottom: 1.5rem;
}

.que-hacemos__text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ddd;
    margin-bottom: 1.5rem;
}

.que-hacemos__list {
    list-style: none;
    padding-left: 0;
    color: #00ffba;
    font-weight: 500;
    line-height: 2;
    font-size: 1.05rem;
}

.que-hacemos__list li::before {
    content: "✓ ";
    color: #00ffba;
    font-weight: bold;
}

.que-hacemos__image {
    flex: 0 0 400px;
    max-width: 400px;
    align-self: center;
}

.que-hacemos__img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(0, 255, 186, 0.4));
    border-radius: 12px;
}

/* ============ POPUP ============ */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(160deg, #111, #1a1a1a);
  color: #ffffff;
  padding: 2rem 1.5rem;
  border: 1px solid #00ffba;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 255, 186, 0.3);
  z-index: 9999;
  display: none;
  max-width: 90%;
  width: 400px;
  text-align: center;
  font-family: 'Epilogue', sans-serif;
}

.popup.show {
  display: block;
}

.popup__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #00ffba;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.popup__close:hover {
  transform: scale(1.3);
  color: #00ffd5;
}

.popup__title {
  font-size: 1.6rem;
  color: #00ffba;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
}

.popup__text {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.popup__info {
  margin-top: 1rem;
  text-align: left;
  font-size: 0.95rem;
  color: #eee;
  border-top: 1px solid #00ffba;
  padding-top: 1rem;
}

.popup__info ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
  list-style-type: disc;
}

.popup__info li::marker {
  color: #00ffba;
}

.popup__info p {
  margin: 0.25rem 0;
  font-size: 0.95rem;
  color: #ddd;
}

.popup__note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #00ffba;
  text-align: center;
  font-style: italic;
  border-top: 1px dashed #00ffba;
  padding-top: 0.75rem;
}

.services__btn {
  margin-top: 0.5rem;
  background-color: transparent;
  color: #00ffba;
  border: 2px solid #00ffba;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.services__btn:hover {
  background-color: #00ffba;
  color: #000;
}
