:root{
  --nomi:#008180;
  --ink:#0e2b2b;

  --line: rgba(0,0,0,.10);
  --soft: rgba(0,0,0,.06);
}

/* Sección */
.nlx-contact{
  position: relative;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  padding: clamp(54px, 5.4vw, 92px) 0;
  background:#fff;
  overflow: hidden;
  margin-bottom: 120px;
}

/* Franja verde (como tus screenshots) */
.nlx-band{
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: clamp(240px, 38vw, 380px);
  background: #00818124;
  z-index: 0;
}

/* Contenedor */
.nlx-contact__wrap{
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Layout */
.nlx-contact__layout{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(18px, 3vw, 46px);
  align-items: center;
}

/* Izquierda */
.nlx-contact__head{
  max-width: 650px;
  text-align: left;
}

.nlx-contact__title{
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--nomi);
  font-size: clamp(42px, 4.8vw, 70px);
  line-height: 0.98;
}

.nlx-contact__sub{
  margin: 0;
  color: rgba(0,0,0,.66);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.7;
  max-width: 560px;
}

/* Card */
.nlx-contact__form{
  background: rgba(255,255,255,.98);
  border-radius: 22px;
  padding: clamp(18px, 2.1vw, 24px);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 22px 60px rgba(0,0,0,.12);
}

/* Grid inputs */
.nlx-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px 14px;
}
.nlx-field--full{ grid-column: 1 / -1; }

/* Input */
.nlx-input{
  position: relative;
  display:flex;
  align-items:center;
  padding: 14px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1.6px solid rgba(0,0,0,.16);
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.nlx-input input,
.nlx-input select{
  width:100%;
  border:0;
  outline:0;
  background: transparent;
  font-family: inherit;
  color: rgba(0,0,0,.78);
  font-size: 14.5px;
  line-height: 1.2;
}

.nlx-input input::placeholder{
  color: rgba(0,0,0,.38);
}

/* Focus */
.nlx-input:focus-within{
  border-color: rgba(0,129,128,.60);
  box-shadow: 0 0 0 4px rgba(0,129,128,.10), 0 16px 30px rgba(0,0,0,.07);
  transform: translateY(-1px);
}

/* Error */
.nlx-field[data-error="1"] .nlx-input{
  border-color: rgba(210,59,59,.75);
  box-shadow: 0 0 0 4px rgba(210,59,59,.10), 0 16px 30px rgba(0,0,0,.07);
}

/* Select */
.nlx-selectwrap select{
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
}

.nlx-caret{
  position:absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events:none;
  color: rgba(0,0,0,.40);
  font-size: 14px;
}

/* Errores */
.nlx-error{
  display:block;
  min-height: 14px;
  margin-top: 6px;
  padding-left: 6px;
  font-size: 12px;
  color: #d23b3b;
}

/* Botón */
.nlx-actions{
  display:flex;
  justify-content:flex-start;
  margin-top: 16px;
}

.nlx-btn{
  border: 0;
  cursor:pointer;
  font-family: inherit;
  font-weight: 800;
  color:#fff;
  background: #d87625;
  padding: 11px 16px 11px 11px;
  border-radius: 999px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 16px 32px rgba(0,129,128,.24);
  transition: transform .18s ease, box-shadow .22s ease, filter .22s ease;
}

.nlx-btn__dot{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  display:grid;
  place-items:center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  font-size: 18px;
  line-height: 1;
}

.nlx-btn:hover{
  transform: translateY(-2px);
  box-shadow: #d8762539;
  filter: saturate(1.04);
}
.nlx-btn:active{ transform: translateY(0); }

/* Legal + Toast */
.nlx-legal{
  margin: 12px 0 0;
  color: rgba(0,0,0,.52);
  font-size: 12px;
  line-height: 1.45;
}
.nlx-toast{
  margin: 8px 0 0;
  font-size: 12px;
  color: rgba(0,0,0,.62);
  min-height: 16px;
}

/* Reveal: más evidente (sube + aparece) */
.nlx-reveal{
  opacity: 0;
  transform: translate3d(0, 52px, 0);
  filter: blur(14px);
  transition:
    opacity .72s ease,
    transform .72s cubic-bezier(.16,.95,.22,1),
    filter .72s ease;
  will-change: opacity, transform, filter;
}
.nlx-reveal.is-inview{
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* ===== Responsive como tu segunda imagen ===== */
@media (max-width: 980px){
  .nlx-contact__layout{
    grid-template-columns: 1fr;
    align-items: start;
  }

  /* Título y texto centrados arriba */
  .nlx-contact__head{
    text-align: center;
    margin: 0 auto;
    max-width: 720px;
  }
  .nlx-contact__sub{
    margin: 0 auto;
  }

  /* Card centrada abajo */
  .nlx-actions{
    justify-content: center;
  }
}

/* 425px */
@media (max-width: 425px){
  .nlx-contact{
    padding: 56px 0 74px;
  }
  .nlx-contact__wrap{
    width: min(1120px, calc(100% - 16px));
  }
  .nlx-contact__title{
    font-size: 46px;
    line-height: 1.02;
  }
  .nlx-contact__sub{
    font-size: 16px;
    line-height: 1.65;
    max-width: 360px;
  }
  .nlx-contact__form{
    border-radius: 18px;
  }
  .nlx-grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* 320px */
@media (max-width: 320px){
  .nlx-contact__title{
    font-size: 40px;
  }
  .nlx-contact__sub{
    font-size: 15px;
    max-width: 300px;
  }
  .nlx-input{
    padding: 12px 12px;
  }
  .nlx-btn{
    font-size: 13.5px;
  }
}
