/* ═══════════════════════════════════════════════════════════
   FormSectionNetifly — shortcode styles
   ═══════════════════════════════════════════════════════════ */

/* ── Variables (scoped al shortcode) ────────────────────── */
.fsnf-hero {
  margin-top: 100px;
  margin-bottom: 40px;
}

/* ── Reset interno ──────────────────────────────────────── */
.fsnf-hero,
.fsnf-hero *,
.fsnf-hero *::before,
.fsnf-hero *::after {
  box-sizing: border-box;
}

/* ── HERO ───────────────────────────────────────────────── */
.fsnf-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 82vh;
  border-bottom: 1px solid var(--line-gray);
  font-family: var(--body-font);
  background: var(--bg);
}

.fsnf-hero-left {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line-gray);
  background: linear-gradient(145deg, var(--bg) 55%, #060e11 100%);
}

.fsnf-hero-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.fsnf-hero-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--blue);
  flex-shrink: 0;
}

.fsnf-h1 {
  font-family: var(--body-font);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 28px 0;
}

.fsnf-h1 em {
  font-style: normal;
  color: var(--blue);
}

.fsnf-hero-sub {
  font-size: 15px;
  font-weight: 400;
  color: #c8c4bc;
  max-width: 460px;
  margin: 0 0 36px 0;
  line-height: 1.9;
}

.fsnf-hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line-gray);
}

.fsnf-stat-num {
  font-family: var(--body-font);
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.fsnf-stat-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.5;
}

/* ── FORM SIDE ──────────────────────────────────────────── */
.fsnf-hero-right {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg2);
}

.fsnf-form-container {
  width: 100%;
}

.fsnf-form-title {
  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 6px 0;
  color: var(--text);
}

.fsnf-form-sub {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  margin: 0 0 24px 0;
  line-height: 1.7;
}

.fsnf-form-group {
  margin-bottom: 14px;
}

.fsnf-hero label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.fsnf-hero input[type="text"],
.fsnf-hero input[type="email"],
.fsnf-hero input[type="tel"],
.fsnf-hero input[type="url"],
.fsnf-hero input[type="number"],
.fsnf-hero select,
.fsnf-hero textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 300;
  color: var(--text);
  background: var(--bg3);
  border: 1px solid var(--line-gray);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
}

.fsnf-hero input[type="text"]:focus,
.fsnf-hero input[type="email"]:focus,
.fsnf-hero input[type="tel"]:focus,
.fsnf-hero input[type="url"]:focus,
.fsnf-hero input[type="number"]:focus,
.fsnf-hero select:focus,
.fsnf-hero textarea:focus {
  border-color: var(--blue);
  box-shadow: none;
}

.fsnf-hero select {
  cursor: pointer;
}

.fsnf-hero select option {
  background: var(--bg3);
  color: var(--text);
}

/* placeholder de select (opción en blanco o include_blank) */
.fsnf-hero select option[value=""] {
  color: var(--text-muted);
}

.fsnf-hero textarea {
  resize: none;
  height: 80px;
}

/* CF7 quita el margen del span wrapper — lo restauramos */
.fsnf-hero .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.fsnf-btn-submit,
.fsnf-hero .wpcf7-submit {
  width: 100%;
  padding: 15px;
  background: var(--blue);
  color: #fff;
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s;
  display: block;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.fsnf-btn-submit:hover,
.fsnf-hero .wpcf7-submit:hover {
  background: var(--blue-lt);
}

.fsnf-btn-submit:disabled,
.fsnf-hero .wpcf7-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.fsnf-form-note {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  letter-spacing: 0.3px;
}

/* ── CF7 overrides ──────────────────────────────────────── */
.fsnf-hero .wpcf7-form-control-wrap {
  display: block;
}

.fsnf-hero .wpcf7-not-valid-tip {
  font-size: 10px;
  color: #f87171;
  margin-top: 4px;
  display: block;
}

.fsnf-hero .wpcf7-response-output {
  margin: 12px 0 0;
  padding: 10px 14px;
  font-size: 12px;
  border: 1px solid var(--line-gray);
  color: var(--text-muted);
  background: var(--bg3);
}

.fsnf-hero .wpcf7-mail-sent-ok {
  border-color: var(--blue);
  color: var(--blue);
}

.fsnf-hero .wpcf7-validation-errors,
.fsnf-hero .wpcf7-mail-sent-ng,
.fsnf-hero .wpcf7-spam-blocked {
  border-color: #f87171;
  color: #f87171;
}

.fsnf-hero .wpcf7-spinner {
  display: none;
}

/* ── RESPONSIVE: tablet ─────────────────────────────────── */
@media (max-width: 1024px) {
  .fsnf-hero-left,
  .fsnf-hero-right {
    padding: 48px 36px;
  }

  .fsnf-hero-stats {
    gap: 24px;
  }

  .fsnf-stat-num {
    font-size: 26px;
  }
}

/* ── RESPONSIVE: mobile landscape / tablet pequeña ─────── */
@media (max-width: 768px) {
  .fsnf-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .fsnf-hero-left {
    padding: 40px 24px;
    border-right: none;
    border-bottom: 1px solid var(--line-gray);
  }

  .fsnf-hero-right {
    padding: 40px 24px;
  }

  .fsnf-h1 {
    font-size: clamp(30px, 8vw, 48px);
  }

  .fsnf-hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .fsnf-stat {
    flex: 1 1 calc(50% - 10px);
    min-width: 110px;
  }

  .fsnf-stat-num {
    font-size: 24px;
  }
}

/* ── RESPONSIVE: móvil pequeño ──────────────────────────── */
@media (max-width: 480px) {
  .fsnf-hero-left,
  .fsnf-hero-right {
    padding: 32px 18px;
  }

  .fsnf-h1 {
    font-size: clamp(28px, 7vw, 40px);
  }

  .fsnf-hero-sub {
    font-size: 14px;
  }

  .fsnf-hero-stats {
    gap: 16px;
  }

  .fsnf-stat {
    flex: 1 1 100%;
  }

  .fsnf-hero-tag {
    font-size: 10px;
  }
}
