:root {
  --color-primary: #001947;
  --color-text: #0053f1;
  --color-white: #f1f1f2;
  --tiempo-transicion: 0.5s;
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "VVDS-Fifties-Exp-Med"; /* Nombre de la fuente Este era el Comfortaa Medium */
  src: url("/src/ELEMENTOS DE MARCA/TIPOGRAFIAS/PARA TITULOS/VVDS-Fifties-Exp-Med.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "VVDS-Fifties-Exp-Reg"; /* Nombre de la fuente: Este era Comfortaa Bold*/
  src: url("/src/ELEMENTOS DE MARCA/TIPOGRAFIAS/PARA TITULOS/VVDS-Fifties-Exp-Reg.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

* {
  font-family: "VVDS-Fifties-Exp-Med";
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  opacity: 1;
  background-color: #ffffff;
  font-family: "VVDS-Fifties-Exp-Med", system-ui, -apple-system, sans-serif;
  font-weight: 700;
  line-height: 1.5;
}

/* Estilo inicial antes de que los elementos sean visibles */
section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Estilo cuando los elementos son visibles */
section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar styles */

.header {
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 100px;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(8px);
}

.header:hover::before {
  left: 100%;
}
.logo {
  cursor: pointer;
}

.navbar a {
  font-family: "VVDS-Fifties-Exp-Reg", system-ui, -apple-system, sans-serif;
  color: var(--color-primario);
  font-size: 1.1rem;
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  text-decoration: none;
  margin-left: 35px;
  transition: 0.3s;
}
.navbar a:hover {
  color: var(--color-primary);
}

.header.scroll {
  position: fixed; /* Asegura que el header esté fijo al hacer scroll */
  top: 10px; /* Ajusta la posición desde la parte superior */
  left: 50%; /* Centra horizontalmente */
  transform: translateX(
    -50%
  ); /* Corrige el desplazamiento hacia la izquierda */
  margin: 0; /* Elimina márgenes que puedan descentrarlo */
  padding: 10px 50px;
  border-radius: 50px;
  width: auto;
  background: rgba(255, 255, 255, 0.313);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(231, 229, 229, 0.539);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Logo reducido */
.header.scroll .logo img {
  width: 50px;
  transition: width 0.3s ease-in-out;
}

.nav-links {
  display: none;
}

.navbar.scrolled .logo img {
  width: 100px;
}

#main-logo {
  width: 50px;
}

/* Estilos básicos para el botón de menú */
#menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: none; /* Se mostrará solo en pantallas pequeñas */
}

@media (min-width: 768px) {
  .navbar .nav-links {
    display: flex; /* Asegurarse de que sea visible */
    gap: 2rem; /* Espaciado entre los elementos */
    position: static; /* Restablecer la posición */
    background: none; /* Quitar fondo */
    padding: 0; /* Ajustar padding */
    box-shadow: none; /* Quitar sombra */
  }

  .navbar .nav-links a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
  }

  #menu-toggle {
    display: none; /* Ocultar el botón de menú */
  }
}

/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
  .navbar .nav-links {
    display: none; /* Ocultar el menú por defecto */
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px;
  }

  .navbar.open .nav-links {
    display: flex; /* Mostrar el menú desplegable */
  }

  .nav-links a {
    margin: 10px 0;
    text-align: right;
  }

  #menu-toggle {
    margin-left: 10px;
    display: block; /* Mostrar el botón de menú */
    font-size: 1.5rem;
    cursor: pointer;
  }
}

/* FIN DE NAV BAR */

/* HERO */
.hero-contenedor {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
}

.i1 {
  margin: 5%;
  margin-top: 10%;
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.9fr;
  grid-template-rows: 1fr 1.5fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "hero-title hero-title animation"
    "hero-title hero-title animation"
    "botones botones ...";
}

.hero-title {
  grid-area: hero-title;
}

.animation {
  grid-area: animation;
  display: flex;
  align-items: center;
  justify-content: center;
}

.botones {
  grid-area: botones;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

/* Typography */
.hero h1 {
  color: var(--color-text);
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero p {
  font-family: "VVDS-Fifties-Exp-Med";
  color: var(--color-text);
  text-align: center;
  font-size: 1.5rem;
}

h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

p {
  font-size: 1.7rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  justify-content: center;
  flex-wrap: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-text);
}

.btn-secondary {
  background-color: white;
  color: #333;
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  color: white;
  background-color: var(--color-primary);
}

.section-description {
  padding-bottom: 2rem;
  text-align: center;
}

/* Hero Section */
.hero {
  background-color: rgba(255, 255, 255, 0.786);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.139);
  text-align: center;
}

.hero h1 span {
  color: var(--color-primary);
  display: block;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
}

#Station {
  align-items: center;
}
#Station #BlackBuildings {
  transition: all 0.4s ease-in-out;
  transform: translate(0px, 160px);
}
#Station:hover #BlackBuildings {
  transform: translate(0px, 0px);
}

#Station #PurpleLights {
  transition: all 1s ease-in-out;
  opacity: 0;
}
#Station:hover #PurpleLights {
  opacity: 1;
}
#Station #Skinny1 {
  transition: all 0.3s ease-in-out;
  transform: translate(0px, 30px);
}
#Station:hover #Skinny1 {
  transform: translate(0px, 0px);
}

#Station #Skinny2 {
  transition: all 0.6s ease-in-out;
  transform: translate(0px, 220px);
}
#Station:hover #Skinny2 {
  transform: translate(0px, 0px);
}

#Station #Skinny3 {
  transition: all 0.9s ease-in-out;
  transform: translate(0px, 220px);
}
#Station:hover #Skinny3 {
  transform: translate(0px, 0px);
}

#Station #Skinny4 {
  transition: all 1.2s ease-in-out;
  transform: translate(0px, 220px);
}
#Station:hover #Skinny4 {
  transform: translate(0px, 0px);
}

#Station #LitWindows {
  transition: all 0.4s ease-in-out;
  opacity: 0;
}
#Station:hover #LitWindows {
  opacity: 1;
}
#Station #Signage {
  transition: all 0.6s ease-in-out;
  transform: translate(0px, 190px);
}
#Station:hover #Signage {
  transform: translate(0px, 0px);
}

#Station #WindowRow1 {
  transition: all 0.2s ease-in-out;
  transform: translate(0px, 190px);
}
#Station:hover #WindowRow1 {
  transform: translate(0px, 0px);
}
#Station #WindowRow2 {
  transition: all 0.4s ease-in-out;
  transform: translate(0px, 190px);
}
#Station:hover #WindowRow2 {
  transform: translate(0px, 0px);
}
#Station #WindowRow3 {
  transition: all 0.6s ease-in-out;
  transform: translate(0px, 190px);
}
#Station:hover #WindowRow3 {
  transform: translate(0px, 0px);
}
#Station #WindowRow4 {
  transition: all 0.8s ease-in-out;
  transform: translate(0px, 190px);
}
#Station:hover #WindowRow4 {
  transform: translate(0px, 0px);
}
#Station #WindowRow5 {
  transition: all 1s ease-in-out;
  transform: translate(0px, 190px);
}
#Station:hover #WindowRow5 {
  transform: translate(0px, 0px);
}

#Station #LitTracks {
  transition: all 0.8s ease-in-out;
  opacity: 0;
}
#Station:hover #LitTracks {
  opacity: 1;
}

#Station #Step1 {
  transition: all 0.7s ease-in-out;
  transform: translate(0px, 132px);
}
#Station:hover #Step1 {
  transform: translate(0px, 0px);
}

#Station #Step2 {
  transition: all 0.65s ease-in-out;
  transform: translate(0px, 132px);
}
#Station:hover #Step2 {
  transform: translate(0px, 0px);
}
#Station #Step3 {
  transition: all 0.6s ease-in-out;
  transform: translate(0px, 132px);
}
#Station:hover #Step3 {
  transform: translate(0px, 0px);
}
#Station #Step4 {
  transition: all 0.55s ease-in-out;
  transform: translate(0px, 132px);
}
#Station:hover #Step4 {
  transform: translate(0px, 0px);
}
#Station #Step5 {
  transition: all 0.5s ease-in-out;
  transform: translate(0px, 132px);
}
#Station:hover #Step5 {
  transform: translate(0px, 0px);
}
#Station #Step6 {
  transition: all 0.45s ease-in-out;
  transform: translate(0px, 132px);
}
#Station:hover #Step6 {
  transform: translate(0px, 0px);
}
#Station #Step7 {
  transition: all 0.4s ease-in-out;
  transform: translate(0px, 132px);
}
#Station:hover #Step7 {
  transform: translate(0px, 0px);
}
#Station #Step8 {
  transition: all 0.35s ease-in-out;
  transform: translate(0px, 132px);
}
#Station:hover #Step8 {
  transform: translate(0px, 0px);
}
#Station #Step9 {
  transition: all 0.3s ease-in-out;
  transform: translate(0px, 132px);
}
#Station:hover #Step9 {
  transform: translate(0px, 0px);
}
#Station #Step10 {
  transition: all 0.25s ease-in-out;
  transform: translate(0px, 132px);
}
#Station:hover #Step10 {
  transform: translate(0px, 0px);
}
#Station #Step11 {
  transition: all 0.2s ease-in-out;
  transform: translate(0px, 132px);
}
#Station:hover #Step11 {
  transform: translate(0px, 0px);
}
#Station #Step12 {
  transition: all 0.15s ease-in-out;
  transform: translate(0px, 132px);
}
#Station:hover #Step12 {
  transform: translate(0px, 0px);
}
#Station #Car {
  transition: all 1.5s ease-in-out;
  transform: translate(-280px, 176px);
}
#Station:hover #Car {
  transform: translate(13px, -7px);
}

/* CHEQUES */

.cheque-container{
  background: linear-gradient(to bottom, #e6eaf3, #f0f1f8);
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.money-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  text-align: center;
}

.money {
  position: absolute;
  animation: float 8s infinite linear;
  opacity: 0.8;
  pointer-events: none;
}

.virtual-check {
  width: 80px;
  height: 40px;
  background: #fff;
  border: 2px solid var(--color-primario);
  border-radius: 5px;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 5px;
}

.virtual-check::before {
  content: '';
  position: absolute;
  width: 60%;
  height: 2px;
  background: var(--color-text);
  top: 40%;
  left: 20%;
}

.virtual-check::after {
  content: 'VIRTUAL';
  position: absolute;
  font-size: 8px;
  color: var(--color-text);
  bottom: 5px;
  right: 5px;
  font-family: monospace;
}

@keyframes float {
  0% {
    transform: translateY(-50px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

.money-container h1 {
  z-index: 5;
  font-size: 4rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.money-container .highlight {
  font-weight: bold;
  color: var(--color-text);
}

.money-container p {
  color: var(--color-text);
  z-index: 5;
  font-size: 2rem;
  margin-bottom: 20px;
}

.money-container .cta-button {
  z-index: 5;
  background-color: var(--color-primario);
  color: #fff;
  padding: 12px 25px;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.3s;
  width: 20%;
}

.money-container .cta-button:hover {
  background-color: var(--color-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .money-container h1 {
    font-size: 2rem;
  }

  .money-container p {
    font-size: 1rem;
  }

  .money-container .cta-button {
    font-size: 1rem;
    padding: 10px 20px;
    width: 50%;
  }
}

.Cheques {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr;
  grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas: "info-cheque calculadora-cheque";
}

.info-cheque {
  grid-area: info-cheque;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: nowrap;
  margin-top: 2rem;
  padding: 3rem;
  text-align: center;
}

.title-cheque{
  font-size: 2.5rem;
  color: var(--color-primary);
  text-align: start;
}

.text-cheque{
  font-size: 1.3rem;
  color: var(--color-text);
  text-align: justify;
}

.calculadora-cheque {
  grid-area: calculadora-cheque;
  padding: 2rem;
}

.container-cheque {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 800px;
  backdrop-filter: blur(10px);
}

.calculadora-cheque h1 {
  color: var(--color-text);
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 300;
  position: relative;
}

.calculadora-cheque h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--color-text);
}

.cheque-form {
  display: grid;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.calculadora-cheque label {
  font-weight: 400;
  color: var(--color-text);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.calculadora-cheque input,
.calculadora-cheque select {
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.calculadora-cheque input:focus,
.calculadora-cheque select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(0, 247, 255, 0.1);
}

.calculadora-cheque button {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 1.2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.calculadora-cheque button:hover {
  background: var(--color-primario);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 247, 255, 0.2);
}

.calculadora-cheque button:active {
  transform: translateY(0);
}

.cheque-preview {
  margin-top: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.cheque-preview h3{
  color: var(--color-text);
  font-size: 1.5rem;
}

.cheque-preview p{
  font-size: 1rem;
}

.result {
  margin-top: 2rem;
  border-radius: 16px;
  display: none;
}

.result.success {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: block;
}

.result.success h3{
  color: var(--color-text);
}
.result.success p{
  font-size: 1rem;
}

.result.error {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.2);
  color: #ff4545;
  display: block;
}

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

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

/* Glowing accent elements */
.container-cheque::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(45deg, var(--color-text), transparent);
  border-radius: 26px;
  z-index: -1;
  opacity: 0.1;
}

/* FIN CHEQUES */

/* CALCULADORAS */

.contenedor-calculadoras {
  font-family: "VVDS-Fifties-Exp-Reg";
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.139);
  background-color: rgba(255, 255, 255, 0.786);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas: "calculadoras calculadoras";
}

.contenedor-calculadoras h2 {
  font-size: 2.5rem;
  color: var(--color-text);
  text-shadow: 1px 1px 3px var(--color-primary);
}

.calculadoras {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "divisas prestamos"
    "divisas prestamos"
    "divisas prestamos";
  grid-area: calculadoras;
}

.divisas {
  grid-area: divisas;
}

.prestamos {
  grid-area: prestamos;
}

/* Exchange Calculator */
.exchange {
  padding: 4rem 0;
}

.exchange-calculator {
  background-color: var(--color-primario);
  padding: 2rem;
  border-radius: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.exchange-calculator h2 {
  color: var(--color-white);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.currency-selectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.exchange-result,
.loan-result {
  color: var(--color-primary);
  font-family: "VVDS-Fifties-Exp-Med";
}

.exchange-result,
.loan-result {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#result-amount,
#monthly-payment {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-text);
  margin: 1rem 0;
}

/* Loans Section */
.loans {
  padding: 4rem 0;
}

.loan-calculator {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}
/* FIN DE CALCULADORAS */

/* International Payments */
.pagos-internacionales {
  display: grid;
  grid-template-columns: 1.2fr;
  grid-template-rows: 1fr;
  grid-auto-columns: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas: "PagosHero";
}

.PagosHero {
  display: grid;
  font-family: "VVDS-Fifties-Exp-Reg";
  padding: 1rem 0;
  background-color: var(--color-primary);
  grid-template-columns: 1fr 0.8fr 1.2fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "Pagos Pagos Mundo"
    "Pagos Pagos Mundo"
    "Pagos Pagos Mundo";
  grid-area: PagosHero;
}

.Pagos {
  grid-area: Pagos;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.Mundo {
  grid-area: Mundo;
}

#animationWindow {
  width: 100%;
  height: 100%;
}

.Pagos h2 {
  font-size: 4rem;
  color: var(--color-white);
  font-family: "VVDS-Fifties-Exp-Reg";
}

.Pagos p {
  color: var(--color-white);
  font-family: "VVDS-Fifties-Exp-Med";
  font-weight: 500;
  font-size: 1.5rem;
}

.Pagos a {
  background-color: white;
  border-color: var(--color-white);
}

.Pagos a:hover {
  color: var(--color-white);
  border-color: var(--color-white);
  background-color: transparent;
}

.contenedor-tarjeta {
  background-color: #ffffff;
  display: flex;
  width: 460px;
  height: 120px;
  position: relative;
  border-radius: 6px;
  transition: 0.3s ease-in-out;
}

.contenedor-tarjeta:hover {
  transform: scale(1.03);
  width: 220px;
}

.contenedor-tarjeta:hover .left-side {
  width: 100%;
}

.left-side {
  background-color: var(--color-text);
  width: 130px;
  height: 120px;
  border-radius: 4px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
  flex-shrink: 0;
  overflow: hidden;
}

.right-side {
  width: calc(100% - 130px);
  display: flex;
  align-items: center;
  overflow: hidden;
  cursor: pointer;
  justify-content: space-between;
  white-space: nowrap;
  transition: 0.3s;
}

.right-side:hover {
  background-color: #f9f7f9;
}

.arrow {
  width: 20px;
  height: 20px;
  margin-right: 20px;
}

.new {
  font-size: 23px;
  font-family: "Lexend Deca", sans-serif;
  margin-left: 20px;
}

.tarjeta-pago {
  width: 70px;
  height: 46px;
  background-color: #9eacf0;
  border-radius: 6px;
  position: absolute;
  display: flex;
  z-index: 10;
  flex-direction: column;
  align-items: center;
  box-shadow: 9px 9px 9px -2px #f1f1f22f;
}

.card-line {
  width: 65px;
  height: 13px;
  background-color: #000000a4;
  border-radius: 2px;
  margin-top: 7px;
}

@media only screen and (max-width: 480px) {
  .contenedor-tarjeta {
    transform: scale(0.7);
  }

  .container:hover {
    transform: scale(0.74);
  }

  .new {
    font-size: 18px;
  }
}

.buttons {
  width: 8px;
  height: 8px;
  background-color: var(--color-text);
  box-shadow: 0 -10px 0 0 var(--color-primary), 0 10px 0 0 #405de6;
  border-radius: 50%;
  margin-top: 5px;
  transform: rotate(90deg);
  margin: 10px 0 0 -30px;
}

.contenedor-tarjeta:hover .tarjeta-pago {
  animation: slide-top 1.2s cubic-bezier(0.645, 0.045, 0.355, 1) both;
}

.contenedor-tarjeta:hover .post {
  animation: slide-post 1s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

@keyframes slide-top {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  50% {
    -webkit-transform: translateY(-70px) rotate(90deg);
    transform: translateY(-70px) rotate(90deg);
  }

  60% {
    -webkit-transform: translateY(-70px) rotate(90deg);
    transform: translateY(-70px) rotate(90deg);
  }

  100% {
    -webkit-transform: translateY(-8px) rotate(90deg);
    transform: translateY(-8px) rotate(90deg);
  }
}

.post {
  width: 63px;
  height: 75px;
  background-color: #dddde0;
  position: absolute;
  z-index: 11;
  bottom: 10px;
  top: 120px;
  border-radius: 6px;
  overflow: hidden;
}

.post-line {
  width: 47px;
  height: 9px;
  background-color: #545354;
  position: absolute;
  border-radius: 0px 0px 3px 3px;
  right: 8px;
  top: 8px;
}

.post-line:before {
  content: "";
  position: absolute;
  width: 47px;
  height: 9px;
  background-color: #757375;
  top: -8px;
}

.screen {
  width: 47px;
  height: 23px;
  background-color: #ffffff;
  position: absolute;
  top: 22px;
  right: 8px;
  border-radius: 3px;
}

.numbers {
  width: 12px;
  height: 12px;
  background-color: #838183;
  box-shadow: 0 -18px 0 0 #838183, 0 18px 0 0 #838183;
  border-radius: 2px;
  position: absolute;
  transform: rotate(90deg);
  left: 25px;
  top: 52px;
}

.numbers-line2 {
  width: 12px;
  height: 12px;
  background-color: #aaa9ab;
  box-shadow: 0 -18px 0 0 #aaa9ab, 0 18px 0 0 #aaa9ab;
  border-radius: 2px;
  position: absolute;
  transform: rotate(90deg);
  left: 25px;
  top: 68px;
}

@keyframes slide-post {
  50% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  100% {
    -webkit-transform: translateY(-70px);
    transform: translateY(-70px);
  }
}

.dollar {
  position: absolute;
  font-size: 16px;
  font-family: "Lexend Deca", sans-serif;
  width: 100%;
  left: 0;
  top: 0;
  color: #4b953b;
  text-align: center;
}

.contenedor-tarjeta:hover .dollar {
  animation: fade-in-fwd 0.3s 1s backwards;
}

@keyframes fade-in-fwd {
  0% {
    opacity: 0;
    transform: translateY(-5px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.tarjeta-contacto {
  text-decoration: none;
  color: #0e2d1d;
}

/* Locations Section */
:root {
  --fondo-caracteristica: rgba(255, 255, 255, 0.9);
  --texto-principal: var(--color-text);
  --texto-secundario: var(--color-text-light);
  --color-primario: #2563eb;
  --sombra-caracteristica: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Locations Section */
.locations {
  background-color: rgba(255, 255, 255, 0.406);
  padding: 4rem 0;
  font-family: "VVDS-Fifties-Exp-Reg";
}

.locations h2 {
  font-size: 4rem; /* Reducido de 4rem */
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-description {
  font-family: "VVDS-Fifties-Exp-Med";
  font-size: 1.3rem; /* Reducido de 1.5rem */
  color: var(--color-text);
  text-align: center;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Contenedor de características */
.caracteristicas-contenedor {
  display: grid;
  gap: 2rem;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Característica individual */
.caracteristica-enlace {
  background-color: var(--fondo-caracteristica);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: var(--sombra-caracteristica);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden; /* Previene overflow */
}

.caracteristica-enlace:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* Encabezado de la característica */
.caracteristica-encabezado {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.caracteristica-icono {
  width: 2rem;
  height: 2rem;
  color: var(--color-primary);
}

.caracteristica-titulo {
  color: var(--color-primary);
  font-size: 1.25rem; /* Reducido significativamente */
  font-weight: 600;
  font-family: "VVDS-Fifties-Exp-Reg";
  margin: 0;
  line-height: 1.2;
  word-wrap: break-word; /* Asegura que las palabras largas se ajusten */
}

/* Contenido de la característica */
.caracteristica-descripcion {
  color: var(--color-text);
  line-height: 1.4;
  font-family: "VVDS-Fifties-Exp-Med";
  font-size: 0.9rem; /* Reducido para mejor ajuste */
  margin: 0;
}

/* Responsive */
@media (max-width: 767px) {
  .locations h2 {
    font-size: 2rem;
    padding: 0 1rem;
  }

  .section-description {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .caracteristica-titulo {
    font-size: 1.1rem;
  }

  .caracteristica-descripcion {
    font-size: 0.875rem;
  }

  .caracteristica-enlace {
    padding: 1.25rem;
  }
}

@media (min-width: 768px) {
  .caracteristicas-contenedor {
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem 2rem;
  }
}

@media (min-width: 1024px) {
  .caracteristicas-contenedor {
    grid-template-columns: repeat(4, 1fr);
    padding: 1rem 2rem;
  }
}

/* FIN TARJETAS CAMBIOS INTERNACIONALES */

/* TARJETAS AGENCIA DE CAMBIO */

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3vh; /* Espaciado entre las tarjetas */
  justify-content: center; /* Centra las tarjetas horizontalmente */
  align-items: center;
  margin: 20px; /* Espaciado alrededor del contenedor */
}

@media (max-width: 768px) {
  .card-container {
    flex-direction: column; /* Cambia a disposición en columna */
  }
}

.card {
  position: relative;
  width: 300px;
  height: 350px;
  border-radius: 14px;
  z-index: 999;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
  background-color: var(--color-text); /* Agregado el color verde */
}

.bg {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 290px;
  height: 340px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  border-radius: 10px;
  overflow: hidden;
  outline: 2px solid white;
}

.blob {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-color: #ffffff9b;
  opacity: 1;
  filter: blur(12px);
  animation: blob-bounce 5s infinite ease;
}

@keyframes blob-bounce {
  0% {
    transform: translate(-100%, -100%) translate3d(0, 0, 0);
  }
  25% {
    transform: translate(-100%, -100%) translate3d(100%, 0, 0);
  }
  50% {
    transform: translate(-100%, -100%) translate3d(100%, 100%, 0);
  }
  75% {
    transform: translate(-100%, -100%) translate3d(0, 100%, 0);
  }
  100% {
    transform: translate(-100%, -100%) translate3d(0, 0, 0);
  }
}

.card-content {
  position: relative;
  z-index: 3;
  text-align: center;
  font-family: Arial, sans-serif;
  color: var(--color-primary);
}

.card-content h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.card-content p {
  color: var(--color-text);
  margin: 1rem 0;
  font-size: 1.2rem;
}

.card-content .icon {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

/*FIN AGENCIA DE CAMBIO */

/* FOOTER */

.custom-footer {
  background-color: white;
  border-radius: 20px; /* Bordes redondeados */
  width: 60%;
  margin: 2rem auto;
  padding: 4rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.409);
  text-align: center;
}

/* Estilo para los links principales */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem; /* Espaciado entre los enlaces */
  margin-bottom: 1.5rem;
}

.footer-links a {
  font-size: 1rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--color-text);
  text-decoration: none;
}

/* Redes sociales */
ul {
  list-style: none;
}

.redes {
  display: flex;
  justify-content: center;
  align-items: center;
}
.redes .contenido-icono {
  margin: 0 10px;
  position: relative;
}
.redes .contenido-icono .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}
.redes .contenido-icono:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}
.redes .contenido-icono a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #4d4d4d;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}
.redes .contenido-icono a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}
.redes .contenido-icono a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}
.redes .contenido-icono a:hover {
  color: white;
}
.redes .contenido-icono a .relleno {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}
.redes .contenido-icono a:hover .relleno {
  height: 100%;
}

.redes .contenido-icono a[data-social="linkedin"] .relleno,
.redes .contenido-icono a[data-social="linkedin"] ~ .tooltip {
  background-color: #EA4335;
}

.redes .contenido-icono a[data-social="whatsapp"] .relleno,
.redes .contenido-icono a[data-social="whatsapp"] ~ .tooltip {
  background-color: #25d366;
}
.redes .contenido-icono a[data-social="instagram"] .relleno,
.redes .contenido-icono a[data-social="instagram"] ~ .tooltip {
  background: linear-gradient(
    45deg,
    #405de6,
    #5b51db,
    #b33ab4,
    #c135b4,
    #e1306c,
    #fd1f1f
  );
}
.redes .contenido-icono a[data-social="youtube"] .relleno,
.redes .contenido-icono a[data-social="youtube"] ~ .tooltip {
  background-color: #ff0000;
}

/* FIN REDES SOCIALES */

.footer-info {
  font-size: 0.9rem;
  color: #555;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.footer-info p {
  font-size: 0.9rem;
}

.logo-section img {
  width: 35vh;
  margin-bottom: 30px;
}

.footer-bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #555;
}

/* FIN FOOTER */

/* MEDIA QUERIES */

@media screen and (max-width: 1280px) {
  .custom-footer {
    width: 80%;
    padding: 2rem;
  }

  .logo-section img {
    width: 25vh;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .footer-info {
    font-size: 0.8rem;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 1024px) {
  body {
    max-width: 1024px;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
  .animation {
    padding-left: 5%;
  }
  .center svg {
    text-align: center;
    width: 100%;
    height: 100%;
  }
  .locations {
    padding: 2rem 0;
  }
  .locations h2 {
    font-size: 3rem;
  }
}

@media screen and (max-width: 768px) {
  .header {
    padding: 10px 20px;
  }
  .header h1 {
    font-size: 2rem;
  }

  .calculator-grid {
    grid-template-columns: 1fr;
  }
  .animation {
    padding-left: 5%;
  }
  .center svg {
    text-align: center;
    width: 100%;
    height: 100%;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-buttons {
    width: 80%;
    height: 20%;
    padding-left: 20%;
    margin-top: 2rem;
  }
  .btn {
    width: 40%;
    font-size: 0.7rem;
  }

  .Cheques {
    grid-template-columns: 1fr; /* Una sola columna en pantallas pequeñas */
    grid-template-rows: auto auto; /* Ajusta automáticamente las filas */
    grid-template-areas:
      "info-cheque"
      "calculadora-cheque"; /* info-cheque primero, luego calculadora-cheque */
  }

  .calculadoras h2 {
    font-size: 1.2rem;
  }
  .calculadoras h3 {
    font-size: 1rem;
  }
  .calculadoras p {
    font-size: 0.8rem;
  }
  #result-amount,
  #monthly-payment {
    font-size: 1.5rem;
  }
  .Pagos {
    padding: 1rem;
  }
  .Pagos h2 {
    font-size: 2rem;
  }
  .Pagos p {
    font-size: 1rem;
  }
  .tarjeta-contacto {
    margin: 3%;
  }
  .contenedor-tarjeta {
    width: 100%;
    height: 70px;
  }
  .new {
    font-size: 1.2rem;
  }
  .left-side {
    width: 130px;
    height: 70px;
  }
  .right-side {
    width: 55%;
  }

  .locations h2 {
    font-size: 1.5rem;
  }
  .locations p {
    font-size: 0.89rem;
  }
  #agencia-title {
    font-size: 1.5rem;
  }
  #agencia {
    font-size: 1rem;
  }
  .card {
    width: 200px;
    height: 250px;
  }
  .card-container {
    gap: 5vh;
  }
  .card-content h3 {
    font-size: 1.2rem;
  }
  .bg {
    width: 190px;
    height: 240px;
  }
  .custom-footer {
    width: 50%;
    padding: 2rem;
  }
  .logo-section img {
    width: 20vh;
    margin-bottom: 20px;
  }
  .footer-links a {
    font-size: 0.8rem;
  }
  .social-media {
    font-size: 0.8rem;
  }
  .footer-info p {
    font-size: 0.7rem;
  }
  .footer-bottom p {
    font-size: 0.7rem;
  }
}

@media screen and (max-width: 430px){
  .calculadoras {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Ajusta el espacio entre las calculadoras según tus necesidades */
  }
  .calculator-grid {
    grid-template-columns: 1fr;
  }
}


@media screen and (max-width: 425px) {
  .body {
    max-width: 425px;
  }
  .header {
    padding: 0.5rem;
  }
  #main-logo {
    width: 40px;
  }
  #menu-toggle {
    margin-left: 10px;
    display: block;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
  }
  .header h1 {
    font-size: 1.5rem;
  }
  .hero {
    margin-top: 3rem;
  }
  .animation {
    padding-left: 2%;
  }
  .center svg {
    text-align: center;
    width: 100%;
    height: 100%;
  }
  .hero h1 {
    font-size: 1.3rem;
  }
  .hero p {
    font-size: 0.6rem;
  }
  .hero-buttons {
    width: 90%;
    height: 20%;
    padding-left: 10%;
    margin-top: 1rem;
  }
  .btn {
    width: 60%;
    font-size: 0.6rem;
  }
  .calculadoras {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Ajusta el espacio entre las calculadoras según tus necesidades */
  }
  .calculator-grid {
    grid-template-columns: 1fr;
  }
  .calculator-inputs,
  .exchange-result,
  .loan-result {
    width: 100%;
  }
  .exchange-calculator,
  .loan-calculator {
    width: 100%;
  }
  .input-group {
    width: 100%;
  }
  .calculadoras h2 {
    font-size: 2rem;
  }
  .calculadoras h3 {
    font-size: 0.8rem;
  }
  .calculadoras p {
    font-size: 0.7rem;
  }
  #result-amount,
  #monthly-payment {
    font-size: 1.2rem;
  }
  .Pagos {
    padding: 0.5rem;
  }
  .Pagos a {
    background: none;
  }
  .Pagos h2 {
    font-size: 1.5rem;
  }
  .Pagos p {
    font-size: 0.8rem;
  }
  .tarjeta-contacto {
    margin: 2%;
  }
  .contenedor-tarjeta {
    width: 100%;
    height: 60px;
  }
  .new {
    font-size: 1rem;
  }
  .left-side {
    width: 100px;
    height: 60px;
  }
  .right-side {
    width: 50%;
  }

  .locations h2 {
    font-size: 1.2rem;
  }
  .locations p {
    font-size: 0.8rem;
  }
  #agencia-title {
    font-size: 1.2rem;
  }
  #agencia {
    font-size: 0.8rem;
  }
  .card {
    width: 200px;
    height: 200px;
  }
  .card-container {
    gap: 3vh;
  }
  .card-content h3 {
    margin-top: 1rem;
    font-size: 1rem;
  }
  .bg {
    width: 190px;
    height: 190px;
  }
  .custom-footer {
    width: 100%;
    padding: 1rem;
  }
  .logo-section img {
    width: 15vh;
    margin-bottom: 10px;
  }
  .footer-links a {
    font-size: 0.7rem;
  }
  .social-media {
    font-size: 0.7rem;
  }
  .footer-info p {
    font-size: 0.6rem;
  }
  .footer-bottom p {
    font-size: 0.6rem;
  }
}

@media screen and (max-width: 375px) {
  .body {
    max-width: 375px;
  }
  .header {
    padding: 0.5rem;
  }
  #main-logo {
    width: 35px;
  }
  #menu-toggle {
    margin-left: 10px;
    display: block;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
  }
  .header h1 {
    font-size: 1.3rem;
  }
  .hero {
    margin-top: 2rem;
  }
  .calculator-grid {
    grid-template-columns: 1fr;
  }
  .animation {
    padding-left: 2%;
  }
  .center svg {
    text-align: center;
    width: 100%;
    height: 100%;
  }
  .hero h1 {
    font-size: 1.1rem;
  }
  .hero p {
    font-size: 0.5rem;
  }
  .hero-buttons {
    width: 70%;
    height: 18%;
    padding-left: 30%;
    margin-top: 0.7rem;
  }
  .btn {
    width: 70%;
    font-size: 0.5rem;
  }
  .exchange {
    padding: 1rem 0;
  }
  .calculadoras {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Ajusta el espacio entre las calculadoras según tus necesidades */
  }
  .calculator-grid {
    grid-template-columns: 1fr;
  }
  .calculator-inputs,
  .exchange-result,
  .loan-result {
    width: 100%;
  }
  .exchange-calculator,
  .loan-calculator {
    width: 100%;
  }
  .input-group {
    width: 100%;
  }
  .calculadoras h2 {
    font-size: 1.5rem;
  }
  .calculadoras h3 {
    font-size: 0.7rem;
  }
  .calculadoras p {
    font-size: 0.6rem;
  }
  #result-amount,
  #monthly-payment {
    font-size: 1rem;
  }
  .Pagos {
    padding: 0.5rem;
  }
  .Pagos a {
    background: none;
  }
  .Pagos h2 {
    font-size: 1.2rem;
  }
  .Pagos p {
    font-size: 0.7rem;
  }
  .tarjeta-contacto {
    margin: 2%;
  }
  .contenedor-tarjeta {
    width: 100%;
    height: 50px;
  }
  .new {
    font-size: 0.9rem;
  }
  .left-side {
    width: 90px;
    height: 50px;
  }
  .right-side {
    width: 50%;
  }

  .locations h2 {
    font-size: 1rem;
  }
  .locations p {
    font-size: 0.7rem;
  }
  #agencia-title {
    font-size: 1rem;
  }
  #agencia {
    font-size: 0.7rem;
  }
  .card {
    width: 180px;
    height: 180px;
  }
  .card-container {
    gap: 2vh;
  }
  .card-content h3 {
    margin-top: 0.5rem;
    font-size: 0.9rem;
  }
  .bg {
    width: 170px;
    height: 170px;
  }
  .custom-footer {
    width: 100%;
    padding: 0.75rem;
  }
  .logo-section img {
    width: 12vh;
    margin-bottom: 7px;
  }
  .footer-links a {
    font-size: 0.65rem;
  }
  .social-media {
    font-size: 0.65rem;
  }
  .footer-info p {
    font-size: 0.55rem;
  }
  .footer-bottom p {
    font-size: 0.55rem;
  }
}

@media screen and (max-width: 320px) {
  .body {
    max-width: 375px;
  }
  .header {
    padding: 0.5rem;
  }
  #main-logo {
    width: 35px;
  }
  #menu-toggle {
    margin-left: 10px;
    display: block;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
  }
  .header h1 {
    font-size: 1.3rem;
  }
  .hero {
    margin-top: 2rem;
  }
  .calculator-grid {
    grid-template-columns: 1fr;
  }
  .animation {
    padding-left: 2%;
  }
  .center svg {
    text-align: center;
    width: 100%;
    height: 100%;
  }
  .hero h1 {
    font-size: 1rem;
  }
  .hero p {
    font-size: 0.4968rem;
  }

  .hero-buttons {
    width: 70%;
    height: 16%;
    padding-left: 30%;
    margin-top: 0.7rem;
  }
  .btn {
    width: 70%;
    font-size: 0.5rem;
  }
  .btn-secondary {
    border: 1px solid var(--color-primary);
  }
  .loans {
    padding: 1rem 0;
  }
  .calculadoras {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Ajusta el espacio entre las calculadoras según tus necesidades */
  }
  .calculator-grid {
    grid-template-columns: 1fr;
  }
  .calculator-inputs,
  .exchange-result,
  .loan-result {
    width: 100%;
  }
  .exchange-calculator,
  .loan-calculator {
    width: 100%;
  }
  .input-group {
    width: 100%;
  }
  .calculadoras h2 {
    font-size: 1.5rem;
  }
  .calculadoras h3 {
    font-size: 0.7rem;
  }
  .calculadoras p {
    font-size: 0.6rem;
  }
  #result-amount,
  #monthly-payment {
    font-size: 1rem;
  }
  .Pagos {
    padding: 0.5rem;
  }
  .Pagos a {
    background: none;
  }
  .Pagos h2 {
    font-size: 1.2rem;
  }
  .Pagos p {
    font-size: 0.7rem;
  }
  .tarjeta-contacto {
    margin: 2%;
  }
  .contenedor-tarjeta {
    width: 100%;
    height: 50px;
  }
  .new {
    font-size: 0.9rem;
  }
  .left-side {
    width: 90px;
    height: 50px;
  }
  .right-side {
    width: 50%;
  }
  .locations {
    padding: 0rem 0;
  }

  .locations h2 {
    font-size: 1rem;
  }
  .locations p {
    font-size: 0.7rem;
  }
  #agencia-title {
    font-size: 1rem;
  }
  #agencia {
    font-size: 0.7rem;
  }
  .card {
    width: 180px;
    height: 180px;
  }
  .card-container {
    gap: 2vh;
  }
  .card-content h3 {
    margin-top: 0.5rem;
    font-size: 0.9rem;
  }
  .bg {
    width: 170px;
    height: 170px;
  }
  .card-content .icon {
    font-size: 0.7rem;
    margin-right: 0.2rem;
  }
  .custom-footer {
    width: 100%;
    padding: 0.75rem;
  }
  .logo-section img {
    width: 12vh;
    margin-bottom: 7px;
  }
  .footer-links a {
    font-size: 0.65rem;
  }
  .social-media {
    font-size: 0.65rem;
  }
  .footer-info p {
    font-size: 0.55rem;
  }
  .footer-bottom p {
    font-size: 0.55rem;
  }
}
