@charset "UTF-8";
/* 💼 Estilos principales JAG Contabilidad */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f7fa;
  color: #222;
  overflow-x: hidden;
}

/* 🧭 Logo superior */
.logo-top {
  position: absolute;
  top: 20px;
  left: 30px;
  z-index: 20;
}

.logo-top img {
  width: 90px;
  height: auto;
  transition: transform 0.3s ease;
}

.logo-top img:hover {
  transform: scale(1.05);
}

/* 🌄 Hero principal */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)),
              url('../img/Fondoconta.jpg') center center / cover no-repeat;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  padding-top: 100px;
}

.hero h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero p {
  font-size: 1.3rem;
  max-width: 850px;
  line-height: 1.8;
  color: #f1f1f1;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
}

/* 🔘 Botón Volver */
.back-btn {
  position: absolute;
  top: 25px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 8px 15px;
  border-radius: 30px;
  color: #003366;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 25;
}

.back-btn:hover {
  background: #003366;
  color: #fff;
  transform: scale(1.05);
}

/* 🌐 Botón de idioma */
.language-switch {
  position: absolute;
  top: 25px;
  right: 25px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 8px 15px;
  border-radius: 30px;
  color: #003366;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 25;
}

.language-switch:hover {
  background: #003366;
  color: #fff;
  transform: scale(1.05);
}

.language-switch img {
  width: 22px;
  height: 22px;
}

/* 💡 Sección de servicios (tarjetas) */
.services {
  background: #fff;
  text-align: center;
  padding: 70px 20px;
}

.services h3 {
  color: #003366;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 4px 8px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  background: #003366;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.card h4 {
  font-weight: 600;
  margin-bottom: 15px;
  color: #003366;
}

.card:hover h4 {
  color: #fff;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

.card:hover p {
  color: #ddd;
}

/* 📬 Footer */
footer {
  background-color: #003366;
  text-align: center;
  padding: 25px 10px;
  color: #ccc;
  font-size: 0.9rem;
}

footer a {
  color: #f4a400;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* 💻 Responsive */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 15px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .language-switch {
    top: 15px;
    right: 15px;
  }

  .back-btn {
    top: 15px;
    left: 15px;
  }
}

/* 🔧 Ajustes de hover uniformes para botones y opciones */

/* Opciones dentro de las cajas de selección */
.option-item:hover {
  background-color: #003366 !important;
  color: #fff !important;
}

.option-item:hover label {
  color: #fff !important;
}

/* Botones de acción */
.cta-btn,
.action-buttons .cta-btn {
  background-color: #003366;
  color: #fff;
  border: 2px solid #003366;
  transition: all 0.3s ease;
}

.cta-btn:hover,
.action-buttons .cta-btn:hover {
  background-color: #00264d; /* Azul más profundo para hover */
  color: #fff;
  transform: scale(1.05);
}
