:root {
  --Primary-50: #e9f3f6;
  --Primary-300: #79b4c8;
  --Secondary-50: #e4ecf1;
  --Secondary-100: #b9ccda;
  --Secondary-200: #91afc5;
  --Secondary-300: #6691b2;
  --Secondary-400: #3177aa;
  --Secondary-500: #024679;
  --Secondary-600: #013c68;
  --Secondary-700: #013156;
  --Secondary-900: #011e34;
  --Tertiary-50: #fde8f1;
  --Tertiary-300: #f17fb4;
  --Tertiary-500: #e3066d;
  --Gray-900: #263238;
  --Info-500: #2196f3;
  --Primary-Background: rgba(22, 124, 159, 0.05);
}

/* Reset y tipografía base */
* {
  font-family: "Poppins", sans-serif;
}

label {
  color: var(--bw-black, #070707);
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 22px;
}

/* Header y navegación */
header {
  background-color: white;
  display: flex;
  justify-content: space-between;
  padding: 16px 40px;
  border-bottom: 1px solid var(--Secondary-200);
}

.btn:disabled,
.btn[disabled] {
  background-color: var(--Secondary-500);
  border-color: var(--Secondary-500);
}

.btn-primary {
  display: inline-flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border-radius: 100px;
  background: var(--Secondary-500);
  border: none;
}

#btn-menu {
  display: none;
}

.btn-primary.btn-sm {
  font-size: 0.8rem;
  padding: 6px 17px;
}

.btn-primary:hover {
  background: var(--Secondary-400);
}

.btn-primary:disabled {
  background: var(--Secondary-500);
  opacity: 0.4;
}

.btn-primary:focus {
  background: var(--Secondary-500);
}

.btn-primary:active {
  background-color: var(--Secondary-500) !important;
  border-color: var(--Secondary-500) !important;
}

.logo-cfs {
  width: 231px;
}

.icon-home {
  width: 40px;
  height: 40px;
  display: flex;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 100px;
  background: var(--Tertiary-500);
  cursor: pointer;
}

.icon-home:hover {
  background: var(--Tertiary-300);
}

.icon-help {
  width: 40px;
  height: 40px;
  display: flex;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 100px;
  border: 1px solid var(--Secondary-500, #024679);
  cursor: pointer;
}

.icon-help:hover {
  background: var(--Primary-50);
}

#btn-ir-a-portal-mobile {
  display: none;
}
/* Estilos second bar */
.second-bar-container {
  position: sticky;
  top: 0;
  z-index: 3;
}

.second-bar {
  display: flex;
  padding: 8px 40px;
  align-items: center;
  gap: 35px;
  align-self: stretch;
  border-bottom: 1px solid var(--Secondary-200, #91afc5);
  background: var(--Secondary-50, #e4ecf1);
}

.links-container {
  display: flex;
  align-items: center;
  gap: 32px;
  align-self: stretch;
}

.dropdown-btn {
  color: var(--Secondary-700);
  border: none;
  background: none;
}

.dropdown-btn:hover {
  color: var(--Secondary-900);
  border: none;
  background: none;
}

/* Estilos banner */
.banner {
  display: flex;
  min-height: 471px;
  flex-shrink: 0;
  background: linear-gradient(94deg, #013c68 23.3%, #e3066d 96.56%);
  gap: 20px;
}

.texts {
  padding: 40px;
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.social {
  display: flex;
  gap: 20px;
  padding: 40px;
  width: 60%;
  align-items: flex-end;
  justify-content: flex-end;
}

.icons {
  width: 35px;
}

.banner h2 {
  font-weight: bold;
  color: white;
  align-self: stretch;
  font-size: 32px;
}

.banner p {
  color: white;
  font-size: 16px;
}

.social-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.social-container:hover {
  cursor: pointer;
  scale: 1.05;
  transition: scale 0.3s ease;
  filter: drop-shadow(0px 0px 5px rgb(255, 255, 255, 0.5));
}

/* Estilos body */
main {
  display: flex;
  flex-direction: column;
}

main h3 {
  color: var(--Secondary-500);
}

/* Estilos section cards; */

.section-cards-container {
  display: flex;
  padding: 60px 70px;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  align-self: stretch;
}

.cards-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
}

/* Estilos cards */

.card-landing {
  display: flex;
  width: 260px;
  height: 462px;
  flex-direction: column;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid var(--Secondary-50, #e4ecf1);
  background: var(--bw-white, #fff);
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05),
    0px 1px 3px 1px rgba(0, 0, 0, 0.05);
  justify-content: space-between;
}

.img-card {
  display: flex;
  height: 150px;
  padding: 22.5px 77.674px 22.848px 77.674px;
  justify-content: center;
  align-items: center;
  align-self: stretch;
}

.img-app {
  background: #d7d4ff;
}

.img-expo {
  background: #ffe4f5;
}

.img-rse {
  background: #ccffe8;
}

.img-tcn {
  background: #c9e9ff;
}

.text-card-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 12px;
  flex: 1;
}

.title-card {
  color: var(--Secondary-500, #024679);
  font-size: 16px;
  font-weight: 700;
}

.subtitle-card {
  color: var(--Gray-500, #607d8b);
  font-size: 14px;
  font-weight: 400;
}

.text-card {
  color: var(--Gray-900);
  font-size: 12px;
  font-weight: 400;
}

.button-card {
  padding: 0px 12px 16px 12px;
}

.button-card-app {
  padding-bottom: 16px;
}

.button-card-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0px 12px;
  flex-wrap: wrap;
}

/* Estilos sucursales */
.sucursales-container {
  background: var(--Primary-Background);
  display: flex;
  padding: 60px 70px;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  align-self: stretch;
}

.sucursales-list {
  display: flex;
  flex-direction: column;
}

.text-sucursales-container {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.map-sucursales-container {
  width: 50%;
}

.map {
  width: 100%;
  height: 100%;
}

.section-maps {
  display: flex;
  gap: 20px;
  width: 100%;
}

.section-maps ul li::marker {
  color: var(--Secondary-500);
  font-size: 1.2em;
}

/* Estilos video */
.section-video-container {
  display: flex;
  padding: 60px 70px;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  align-self: stretch;
}

.text-video {
  color: var(--Gray-900);
  font-size: 18px;
  font-weight: 400;
  line-height: 2;
}

.section-video {
  display: flex;
  gap: 20px;
}

.video-container {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-video-container {
  width: 50%;
  display: flex;
  justify-content: center;
}

/* Estilos contacto */

.contact-container {
  background: var(--Primary-Background);
  display: flex;
  padding: 60px 70px;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  align-self: stretch;
}

.contact {
  display: flex;
  width: 100%;
}

.text-contact {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.form-contact-container {
  width: 50%;
}

.subtitle-contact {
  color: var(--Gray-900);
  font-size: 18px;
  font-weight: 400;
}

.phone-number {
  color: var(--Info-500, #2196f3);
  font-size: 18px;
  font-weight: 700;
}

.inputs-container {
  display: flex;
  width: 100%;
  gap: 30px;
  margin-bottom: 20px;
}

.input {
  width: 50%;
}

/* Estilos footer */

footer {
  display: flex;
  padding: 60px 70px 40px 70px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
  background: var(--Secondary-600);
  color: white;
}

footer ul {
  color: var(--Secondary-100);
}

footer li {
  list-style: none;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
}

footer li:hover {
  color: var(--Secondary-300);
  cursor: pointer;
}

footer ul {
  padding-left: 10px !important;
}

.foooter-text {
  color: var(--Secondary-200, #91afc5);
  font-size: 16px;
  font-weight: 400;
}

.content-form {
  display: flex;
  width: 100%;
}

.contact-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 50%;
}

.lists-container {
  display: flex;
  width: 50%;
}

.afip-link {
  display: inline-block;
  width: 35px;
}
.afip-link img {
  width: 100%;
  height: auto;
}
.afip-container {
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.qr-container {
  display: flex;
  gap: 10px;
  align-items: center;
}
.qr-text-container p {
  margin: 0px;
  color: var(--Secondary-200, #91afc5);
  font-size: 14px;
  font-weight: 400;
}
/* Estilos sidebar */
.sidebar {
  display: none;
  position: fixed;
  top: 0;
  left: -250px; /* Oculta la barra lateral fuera de la pantalla */
  width: 250px;
  height: 100%;
  background-color: hsla(0, 0%, 3%, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 20px;
  z-index: 1000;
  border-right: 1px solid var(--Secondary-200);
}

.sidebar ul {
  list-style-type: none;
  padding: 0;
}

.sidebar ul li {
  padding: 10px 20px;
}

.sidebar ul li a {
  color: var(--Primary-300);
  text-decoration: none;
}

.sidebar ul li a:hover {
  text-decoration: underline;
}

.sidebar.active {
  left: 0;
}

h3.fw-bold.m-0,
span.fw-bold.ms-3 {
  color: var(--Secondary-500);
}

button.border-0.bg-transparent {
  color: var(--Secondary-100);
  font-size: 20px;
}

#scrollToTopBtn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 2000;
  background: var(--Secondary-500);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

#scrollToTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}

#scrollToTopBtn:hover {
  background: var(--Secondary-400);
}

/* Animaciones */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: none;
}

/* Media queries */
@media (max-width: 1200px) {
  .banner {
    flex-direction: column;
    align-items: center;
  }

  .texts {
    width: 100%;
    text-align: center;
  }

  .social {
    width: 100%;
    justify-content: center;
  }

  .card-landing {
    width: 226px;
    height: 554px;
  }
}

@media (max-width: 1060px) {
  .btn-primary.btn-sm {
    font-size: 1rem;
    padding: 8px 16px;
  }
  .cards-container {
    flex-wrap: wrap;
  }
  .card-landing {
    width: 48%;
    height: 442px;
    margin-bottom: 20px;
  }
  header {
    padding: 16px 20px;
  }
  footer {
    padding: 60px 20px 40px 20px;
  }
  .section-cards-container,
  .section-video-container,
  .contact-container,
  .sucursales-container {
    padding: 60px 20px;
  }
}

@media (max-width: 820px) {
  .section-video {
    flex-direction: column-reverse;
  }
  .section-maps {
    flex-direction: column;
  }
  .text-sucursales-container {
    width: 100%;
    align-items: center;
  }
  .map {
    height: 350px;
  }
  .map-sucursales-container {
    width: 100%;
  }
  .video-container {
    width: 100%;
  }
  .text-video-container {
    width: 100%;
  }

  .contact {
    flex-direction: column;
    gap: 20px;
  }

  .text-contact {
    width: 100%;
    align-items: start;
  }

  .form-contact-container {
    width: 100%;
  }
}

@media (max-width: 800px) {
  .sidebar {
    display: block;
  }

  .logo-cfs {
    width: 116px;
  }

  .icon-home {
    display: none;
  }

  .icon-help {
    display: none;
  }

  #btn-ir-a-portal {
    /* display: none; */
    font-size: 10px;
  }
  .portal-link {
    color: var(--Secondary-100) !important;
    font-size: 20px;
    padding: 1px 6px;
  }
  .portal-link:hover {
    text-decoration: none !important;
  }

  #btn-menu {
    display: block;
  }

  .second-bar {
    display: none;
  }

  .texts {
    text-align: start;
  }

  .social {
    scale: 0.8;
  }

  .card-landing,
  .contact-footer,
  .lists-container {
    width: 100%;
  }

  .content-form {
    flex-direction: column;
    gap: 20px;
  }

  .header-container {
    position: sticky;
    top: 0;
    z-index: 3000;
  }
  .container-iconos {
    gap: 0.5rem !important;
  }
}

@media (max-width: 600px) {
  .social {
    scale: 0.6;
  }
  .section-cards-container,
  .section-video-container,
  .contact-container,
  footer {
    padding: 50px 40px;
  }
  .afip-container {
    flex-direction: column;
  }
}

@media (max-width: 450px) {
  .social {
    scale: 0.5;
  }

  .inputs-container {
    flex-direction: column;
  }
  .input {
    width: 100%;
  }
  #btn-ir-a-portal {
    display: none;
  }
  #btn-ir-a-portal-mobile {
    display: flex;
    padding: 0.375rem 0.75rem;
  }
  #btn-ir-a-portal-mobile img {
    width: 20px;
  }
}
