* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #f8f9fa, #e9ecef);
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background: linear-gradient(to right, #1d3557, #457b9d);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 100px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #a8dadc;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(rgba(29, 53, 87, 0.8), rgba(69, 123, 157, 0.8)), url('https://images.unsplash.com/photo-1563014959-7aaa83350992?ixlib=rb-4.0.3') center/cover;
  color: white;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Main Container */
.container {
  display: flex;
  flex-direction: row;
  min-height: calc(100vh - 200px);
  text-align: center;
}

.section {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.section:hover::before {
  transform: translateY(0);
}

.saldo {
  /* Elimina el background actual */
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(29, 53, 87, 0.85); /* Fondo azul por si acaso */
  color: white;
  position: relative;
}

/* Agrega esto para la imagen */
.saldo-imagen {
  width: 90%; /* Ajusta según necesites */
  max-width: 500px; /* Máximo ancho */
  height: auto;
  border: 5px solid #000000; /* Borde negro de 5px */
  border-radius: 10px; /* Esquinas redondeadas opcional */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Sombra opcional */
  object-fit: contain; /* Mantiene proporción */
}

.pantalla {
  /*background: linear-gradient(to bottom right, #e63946, #f28482);*/
  background: rgba(29, 53, 87, 0.85); /* Fondo azul por si acaso */
  color: white;
  position: relative;
}

/* Estilos para la imagen de pantalla */
.pantalla-imagen-container {
  margin: 20px 0;
  display: flex;
  justify-content: center;
}

.pantalla-imagen {
  width: 90%;
  max-width: 500px;
  height: auto;
  border: 5px solid #000000;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}



.section-content {
  position: relative;
  z-index: 1;
}

.section-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.section:hover .section-icon {
  transform: scale(1.1);
}

.section h1 {
  font-size: 2.2em;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.section h2 {
  font-size: 1.8em;
  margin-bottom: 25px;
  font-weight: 600;
}

.section p {
  font-size: 1.1em;
  line-height: 1.7em;
  max-width: 400px;
}

.btn {
  margin-top: 2rem;
  padding: 12px 30px;
  background: white;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.saldo .btn {
  color: #1d3557;
}

.pantalla .btn {
  color: #e63946;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
  background: #1d3557;
  color: white;
  padding: 2rem;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 1.5rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #a8dadc;
}

/* Responsive */
@media (max-width: 992px) {
  .container {
    flex-direction: column;
  }

  .section {
    padding: 50px 20px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  nav ul {
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section h1 {
    font-size: 1.8em;
  }

  .section h2 {
    font-size: 1.5em;
  }

  .section-icon {
    font-size: 3rem;
  }

  .logo-img {
    height: 80px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 40px 15px;
  }

  .section h1 {
    font-size: 1.6em;
  }

  .section h2 {
    font-size: 1.3em;
  }

  .section p {
    font-size: 1em;
  }

  .logo-img {
    height: 60px;
  }
}