/* =============================================================================
   fichageneral.css
   Estilos generales temporales para Nexo Pymes.
   ============================================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #243238;
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #e3eaed;
  background: #ffffff;
}

.container-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.wrap {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand img,
.fe-footer-logo img {
  display: block;
  width: 230px;
  height: 45px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  color: #183950;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover {
  color: #168f8a;
}

.nav .contacto,
.mobile-nav .contacto {
  padding: 11px 17px;
  border-radius: 7px;
  color: #ffffff;
  background: #168f8a;
}

.nav .contacto:hover,
.mobile-nav .contacto:hover {
  color: #ffffff;
  background: #0f7672;
}

.hamburger {
  display: none;
  width: 44px;
  height: 42px;
  padding: 9px;
  border: 0;
  border-radius: 7px;
  background: #eef6f5;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  margin: 4px 0;
  border-radius: 10px;
  background: #183950;
}

.mobile-nav {
  padding: 0 20px 18px;
  border-top: 1px solid #e3eaed;
  background: #ffffff;
}

.mobile-nav a {
  display: block;
  padding: 13px 0;
  color: #183950;
  font-weight: 700;
  text-decoration: none;
}

.mobile-nav .contacto {
  display: inline-block;
  padding: 11px 17px;
}

.ft-formulario {
  padding: 32px;
  border: 1px solid #d8e3e6;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(20, 49, 72, 0.1);
}

.ft-formulario h2 {
  margin: 0;
  color: #143148;
  font-size: 28px;
}

.ft-formulario > p {
  margin: 10px 0 0;
  color: #5b6970;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  color: #243238;
  font-size: 14px;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cbd5d8;
  border-radius: 6px;
  color: #243238;
  background: #ffffff;
  font: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #168f8a;
  outline: 3px solid rgba(22, 143, 138, 0.14);
}

.submit-button {
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
  padding: 13px 24px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: #78b642;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.submit-button:hover {
  background: #659e34;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fe-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #102c42;
}

.container-footer {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 38px;
  grid-template-columns: 1.35fr 0.75fr 1fr;
  gap: 55px;
}

.fe-footer-logo {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  background: #ffffff;
}

.fe-footer-description {
  max-width: 480px;
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.7;
}

.fe-footer-title {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
}

.fe-footer-nav {
  display: grid;
  gap: 11px;
}

.fe-footer-nav a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}

.fe-footer-nav a:hover {
  color: #98d45e;
}

.fe-footer-bottom {
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.fe-footer-bottom p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 850px) {
  .nav {
    display: none;
  }

  .nav-simple {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .container-footer {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 640px) {
  .container-header,
  .container-footer {
    width: min(100% - 28px, 1180px);
  }

  .wrap {
    min-height: 70px;
  }

  .brand img,
  .fe-footer-logo img {
    width: 200px;
    height: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .ft-formulario {
    padding: 24px;
  }
}
