/* ═══════════════════════════════════════════════════
   FITEXPRESS — FRANCHISING  v3
   Apple-style hero · custom dark form
   ═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.fxf {
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════
   HERO — full viewport
══════════════════════════ */
.fxf-hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 12rem 6vw 4rem;
  position: relative;
  overflow: hidden;
  background: #000;
  margin-top: -110px;
}

/* Glow — identico pagina servizi */
.fxf-hero::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(245,196,0,.12) 0%, rgba(0,0,0,0) 60%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

/* Grain texture */
.fxf-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .4;
}

.fxf-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,214,0,.7);
  border: 1px solid rgba(255,214,0,.15);
  border-radius: 50px;
  padding: .5rem 1.25rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  animation: fadeUp .8s cubic-bezier(.16,1,.3,1) both;
  backdrop-filter: blur(8px);
  background: rgba(255,214,0,.04);
}
.fxf-hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #FFD600;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.7); }
}

.fxf-hero__h1 {
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: .4em;
  position: relative;
  z-index: 1;
  animation: fadeUp .9s .1s cubic-bezier(.16,1,.3,1) both;
}
.fxf-hero__h1 em {
  font-style: normal;
  color: #FFD600;
  display: block;
  line-height: 1.05;
}

.fxf-hero__sub {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,.4);
  max-width: 45ch;
  line-height: 1.75;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  animation: fadeUp .9s .2s cubic-bezier(.16,1,.3,1) both;
  letter-spacing: .01em;
}

.fxf-hero__ctas {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
  animation: fadeUp .9s .3s cubic-bezier(.16,1,.3,1) both;
}
.fxf-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.9rem;
  background: #FFD600;
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 0 40px rgba(255,214,0,.3);
  letter-spacing: .01em;
  -webkit-appearance: none;
}
.fxf-btn-primary:hover {
  background: #F0C800;
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(255,214,0,.45);
}
.fxf-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.9rem;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.8);
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.12);
  transition: background .2s, color .2s;
  letter-spacing: .01em;
}
.fxf-btn-ghost:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}



/* Scroll indicator */
.fxf-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.25);
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  animation: fadeUp 1s .6s both;
  z-index: 1;
}
.fxf-scroll-hint__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,214,0,.5), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════
   WHY STRIP
══════════════════════════ */
.fxf-why {
  background: #FFD600;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.fxf-why__inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4vw;
  border-left: 1px solid rgba(0,0,0,.07);
}
.fxf-why__item {
  flex: 1;
  padding: 1.75rem 1.75rem;
  border-right: 1px solid rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.fxf-why__item-icon {
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,.08);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.fxf-why__item-title {
  font-size: .88rem;
  font-weight: 800;
  color: #000;
  letter-spacing: -.01em;
  margin-bottom: .3rem;
  line-height: 1.2;
}
.fxf-why__item-desc {
  font-size: .78rem;
  color: rgba(0,0,0,.5);
  font-weight: 400;
  line-height: 1.55;
}

/* ══════════════════════════
   FORM SECTION — light
══════════════════════════ */
.fxf-form-section {
  background: #F5F5F7;
  padding: 6rem 6vw 7rem;
  display: grid;
  grid-template-columns: minmax(320px, 5fr) minmax(0, 7fr);
  gap: 5rem;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
  width: 100%;
  position: relative;
}
.fxf-form-section-outer {
  background: #F5F5F7;
}

/* Left — copy */
.fxf-form-copy {
  position: relative;
  order: 1;
  align-self: start;
}
.fxf-form-copy__sticky {
  position: relative;
}
.fxf-form-copy__tag {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #111;
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.5rem;
}
.fxf-form-copy__tag::before {
  content: '';
  width: 2rem;
  height: 1.5px;
  background: #FFD600;
}
.fxf-form-copy__h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1;
  margin-bottom: 1.25rem;
  color: #111;
}
.fxf-form-copy__h2 em {
  font-style: normal;
  display: block;
  position: relative;
  padding-bottom: .15em;
}
.fxf-form-copy__h2 em::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 2.5rem; height: 3px;
  background: #FFD600;
  border-radius: 2px;
}
.fxf-form-copy__p {
  font-size: 1rem;
  color: #8E8E93;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 1.25rem;
  max-width: 36ch;
}

/* Passi */
.fxf-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.25rem;
}
.fxf-step {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.fxf-step:last-child { border-bottom: none; }
.fxf-step__n {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFD600;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
  font-weight: 800;
  color: #111;
  flex-shrink: 0;
  margin-top: 1px;
}
.fxf-step__text strong {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: #111;
  margin-bottom: .1rem;
  letter-spacing: -.01em;
}
.fxf-step__text span {
  font-size: .82rem;
  color: #8E8E93;
  font-weight: 400;
  line-height: 1.45;
}
.fxf-tel {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #6b7280;
  font-size: .8rem;
  text-decoration: none;
  transition: color .2s;
}
.fxf-tel svg { color: #111; }
.fxf-tel:hover { color: #111; }

/* ══════════════════════════
   FORM CARD
══════════════════════════ */
.fxf-card {
  background: #fff;
  border: 1px solid #E5E5EA;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(0,0,0,.06);
  order: 2;
}
.fxf-card::-webkit-scrollbar { width: 5px; }
.fxf-card::-webkit-scrollbar-thumb { background: rgba(255,214,0,.65); border-radius: 999px; }
.fxf-card::-webkit-scrollbar-track { background: transparent; }
.fxf-card .wpcf7 form { margin: 0; }
.fxf-card .wpcf7 p { margin: 0; }
.fxf-card .wpcf7-spinner { margin: 0 0 0 .75rem; }
.fxf-form-missing {
  color: #6b7280;
  font-size: .9rem;
  line-height: 1.6;
}

.fxf-card__section {
  padding: 1.6rem 1.75rem;
  border-bottom: 1px solid #F0F0F0;
}
.fxf-card__section:last-of-type { border-bottom: none; }

.fxf-card__label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #b8bfc8;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.fxf-card__label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #F0F0F0;
}

/* Grid */
.fxf-grid { display: grid; gap: 1.15rem; }
.fxf-grid--2 { grid-template-columns: 1fr 1fr; }
.fxf-grid--2 > .fxf-field--full { grid-column: 1 / -1; }

/* Field */
.fxf-field { display: flex; flex-direction: column; gap: .38rem; }

.fxf-field > label {
  font-size: .64rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.fxf-field > label .req { color: #FFD600; margin-left: .1rem; }

.fxf-field input,
.fxf-field textarea,
.fxf-field select,
.fxf-field .wpcf7-form-control:not(.wpcf7-radio):not(.wpcf7-checkbox):not(.wpcf7-acceptance):not(.wpcf7-submit):not([type="radio"]):not([type="checkbox"]) {
  width: 100%;
  padding: .78rem 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  font-weight: 400;
  color: #111;
  background: #F7F7F9;
  border: 1.5px solid #E8E8EE;
  border-radius: 10px;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.fxf-card .wpcf7 input[type="text"],
.fxf-card .wpcf7 input[type="email"],
.fxf-card .wpcf7 input[type="tel"],
.fxf-card .wpcf7 textarea,
.fxf-card .wpcf7 select {
  color: #111 !important;
  background-color: #F7F7F9 !important;
}
.fxf-card .wpcf7 input[type="text"]::placeholder,
.fxf-card .wpcf7 input[type="email"]::placeholder,
.fxf-card .wpcf7 input[type="tel"]::placeholder,
.fxf-card .wpcf7 textarea::placeholder {
  color: #9ca3af !important;
  opacity: 1 !important;
}
.fxf-card .wpcf7 label {
  color: #6b7280;
}
.fxf-field input::placeholder,
.fxf-field textarea::placeholder,
.fxf-field .wpcf7-form-control::placeholder {
  color: #9ca3af !important;
  opacity: 1 !important;
}
.fxf-field input:focus,
.fxf-field textarea:focus,
.fxf-field select:focus,
.fxf-field .wpcf7-form-control:focus {
  border-color: #FFD600;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,214,0,.12);
}
.fxf-field textarea,
.fxf-field .wpcf7-textarea { min-height: 90px; resize: vertical; }
.fxf-field select,
.fxf-field .wpcf7-select {
  cursor: pointer;
  color: #374151;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.fxf-field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Radio pill */
.fxf-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .15rem;
}
.fxf-pill {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.fxf-pill input,
.fxf-pill .wpcf7-list-item input { display: none; }
.fxf-pill span {
  display: inline-block;
  padding: .5rem 1.1rem;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  font-weight: 500;
  color: #6b7280;
  border: 1.5px solid #E8E8EE;
  border-radius: 50px;
  background: #F7F7F9;
  transition: all .2s;
  cursor: pointer;
}
.fxf-pill input:checked + span {
  background: #FFD600;
  color: #000;
  border-color: #FFD600;
  font-weight: 700;
}
.fxf-pill:has(input:checked) span {
  background: #FFD600;
  color: #000;
  border-color: #FFD600;
  font-weight: 700;
}
.fxf-pill span:hover { border-color: #FFD600; color: #111; background: #fff; }
.fxf-pills .wpcf7-form-control {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.fxf-pills input[type="radio"],
.fxf-pills input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  margin: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}
.fxf-pills .wpcf7-list-item {
  margin: 0;
}
.fxf-pills .wpcf7-list-item label {
  display: flex;
  cursor: pointer;
}
.fxf-pills .wpcf7-list-item-label {
  display: inline-block;
  padding: .5rem 1.1rem;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  font-weight: 500;
  color: #6b7280;
  border: 1.5px solid #E8E8EE;
  border-radius: 50px;
  background: #F7F7F9;
  transition: all .2s;
}
.fxf-pills input:checked + .wpcf7-list-item-label {
  background: #FFD600;
  color: #000;
  border-color: #FFD600;
  font-weight: 700;
}

/* Liste checkbox estese */
.fxf-check-list .wpcf7-form-control {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem .9rem;
}
.fxf-check-list .wpcf7-list-item {
  margin: 0;
}
.fxf-check-list label {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  cursor: pointer;
  font-size: .86rem;
  color: #6b7280;
  line-height: 1.35;
}
.fxf-check-list input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: .08rem;
  accent-color: #FFD600;
  flex-shrink: 0;
}
.fxf-check-list .wpcf7-list-item-label {
  display: inline;
}

/* Privacy */
.fxf-privacy {
  padding: 1.15rem 1.75rem;
  border-top: 1px solid #F0F0F0;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  background: #fffbeb;
}
.fxf-privacy input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #FFD600;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: .15rem;
}
.fxf-privacy .wpcf7-form-control-wrap,
.fxf-privacy .wpcf7-acceptance {
  display: block;
  width: 100%;
}
.fxf-privacy .wpcf7-list-item {
  display: block;
  margin: 0;
}
.fxf-privacy .wpcf7-list-item label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: flex-start;
  column-gap: .8rem;
  margin: 0;
}
.fxf-privacy .wpcf7-list-item-label,
.fxf-privacy label {
  font-size: .82rem;
  color: #78350f;
  line-height: 1.65;
  font-weight: 500;
}
.fxf-privacy label a,
.fxf-privacy .wpcf7-list-item-label a {
  color: #111;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Submit */
.fxf-submit {
  padding: 1.1rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #F0F0F0;
  background: #fafafa;
}
.fxf-submit__note {
  font-size: .8rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.fxf-submit__note svg { color: #16a34a; flex-shrink: 0; }

.fxf-btn-submit,
.fxf-submit .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  background: #111;
  color: #FFD600;
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  -webkit-appearance: none;
  letter-spacing: .02em;
}
.fxf-btn-submit:hover,
.fxf-submit .wpcf7-submit:hover { background: #000; transform: translateY(-1px); }
.fxf-btn-submit:disabled,
.fxf-submit .wpcf7-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Errore / Successo */
.fxf-msg {
  display: none;
  margin: 0 2rem 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 500;
}
.fxf-msg--err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}
.fxf-msg--ok {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  text-align: center;
  padding: 2rem;
}
.fxf-msg--ok svg { display: block; margin: 0 auto .75rem; color: #16a34a; }
.fxf-card .wpcf7-not-valid-tip {
  color: #dc2626;
  font-size: .72rem;
  margin-top: .35rem;
}
.fxf-card .wpcf7 form .wpcf7-response-output {
  margin: 1rem 1.75rem 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 500;
}
.fxf-card .wpcf7 form.invalid .wpcf7-response-output,
.fxf-card .wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: #fecaca;
  background: #fef2f2;
  color: #dc2626;
}
.fxf-card .wpcf7 form.sent .wpcf7-response-output {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */
/* ── Tablet ── */
@media (min-width: 901px) {
  .fxf-form-section {
    align-items: stretch;
  }
  .fxf-form-copy {
    position: relative;
    align-self: stretch;
    min-height: 0;
    height: auto;
    display: block;
    overflow: visible;
    padding-block: 0;
    z-index: 2;
  }
  .fxf-form-copy__sticky {
    position: sticky !important;
    top: 118px;
    transform: translateZ(0);
    will-change: transform;
  }
  body.admin-bar .fxf-form-copy__sticky {
    top: 150px;
  }
}

@media (max-width: 1100px) {
  .fxf-hero { padding: 9rem 5vw 3.5rem; }
  .fxf-form-copy__p { max-width: 100%; }
  .fxf-why__inner { flex-wrap: wrap; }
  .fxf-why__item { min-width: 50%; flex: 0 0 50%; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .fxf-form-section {
    grid-template-columns: minmax(280px, 5fr) minmax(0, 7fr);
    gap: 3rem;
    padding: 4.5rem 4vw 5.5rem;
  }
  .fxf-form-copy {
    order: 1;
    min-height: 0;
    height: auto;
  }
  .fxf-form-copy__sticky {
    top: 110px;
  }
  body.admin-bar .fxf-form-copy__sticky {
    top: 142px;
  }
  .fxf-card { order: 2; }
  .fxf-form-copy__h2 {
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    margin-bottom: .9rem;
  }
  .fxf-form-copy__tag { margin-bottom: 1rem; }
  .fxf-form-copy__p {
    font-size: .9rem;
    line-height: 1.55;
    margin-bottom: .85rem;
  }
  .fxf-step {
    padding: .62rem 0;
    gap: .7rem;
  }
  .fxf-step__n {
    width: 21px;
    height: 21px;
    font-size: .55rem;
  }
  .fxf-step__text strong { font-size: .78rem; }
  .fxf-step__text span {
    font-size: .72rem;
    line-height: 1.35;
  }
  .fxf-steps { margin-bottom: .8rem; }
  .fxf-tel { font-size: .72rem; }
}

@media (max-width: 900px) {
  .fxf-form-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 4rem 5vw 5rem;
  }
  .fxf-form-copy {
    position: static;
    order: 1;
    height: auto;
    display: block;
    overflow: visible;
  }
  .fxf-form-copy__sticky {
    position: static;
    display: block;
  }
  .fxf-card { order: 2; }
}

/* ── Mobile ── */
@media (max-width: 640px) {
  .fxf-hero {
    padding: 7rem 1.25rem 2.5rem;
    align-items: flex-start;
    text-align: left;
  }
  .fxf-hero__eyebrow { font-size: .55rem; padding: .4rem 1rem; }
  .fxf-hero__h1 { font-size: clamp(2rem, 10vw, 2.8rem); letter-spacing: -.025em; line-height: 1.15; }
  .fxf-hero__sub { font-size: .9rem; max-width: 100%; }
  .fxf-hero__ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .fxf-btn-primary,
  .fxf-btn-ghost { justify-content: center; width: 100%; }

  .fxf-why__inner { flex-wrap: wrap; padding: 0; border-left: none; }
  .fxf-why__item {
    min-width: 50%; flex: 0 0 50%;
    padding: 1.1rem;
    border-bottom: 1px solid rgba(0,0,0,.07);
  }
  .fxf-why__item:nth-child(even) { border-right: none; }
  .fxf-why__item-icon { width: 28px; height: 28px; border-radius: 7px; margin-bottom: .65rem; }
  .fxf-why__item-title { font-size: .78rem; }
  .fxf-why__item-desc { font-size: .68rem; }

  .fxf-form-section { padding: 2.5rem 1rem 3.5rem; gap: 2rem; }
  .fxf-form-copy__h2 { font-size: 1.7rem; letter-spacing: -.03em; }
  .fxf-form-copy__p { font-size: .88rem; max-width: 100%; }
  .fxf-form-copy__tag { font-size: .58rem; }
  .fxf-steps { margin-bottom: 1rem; }
  .fxf-step { padding: .7rem 0; gap: .7rem; }
  .fxf-step__n { width: 22px; height: 22px; font-size: .55rem; }
  .fxf-step__text strong { font-size: .82rem; }
  .fxf-step__text span { font-size: .74rem; }
  .fxf-tel { font-size: .75rem; }

  .fxf-card { border-radius: 16px; }
  .fxf-card {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .fxf-card__section { padding: 1.1rem 1.1rem; }
  .fxf-card__label { font-size: .58rem; margin-bottom: .85rem; }
  .fxf-grid--2 { grid-template-columns: 1fr; }
  .fxf-grid { gap: .85rem; }
  .fxf-field > label { font-size: .6rem; }
  .fxf-field input,
  .fxf-field textarea,
  .fxf-field select { font-size: .9rem; padding: .72rem .9rem; border-radius: 9px; }
  .fxf-field input,
  .fxf-field select {
    min-height: 46px;
  }
  .fxf-pill span { font-size: .82rem; padding: .45rem .9rem; }
  .fxf-pills .wpcf7-form-control { gap: .5rem; }
  .fxf-pills .wpcf7-list-item-label {
    font-size: .82rem;
    padding: .58rem .95rem;
  }
  .fxf-check-list .wpcf7-form-control { grid-template-columns: 1fr; }
  .fxf-check-list label { font-size: .8rem; }

  .fxf-privacy { padding: .9rem 1.1rem; gap: .6rem; }
  .fxf-privacy .wpcf7-list-item label {
    grid-template-columns: 18px minmax(0, 1fr);
    column-gap: .65rem;
  }
  .fxf-privacy .wpcf7-list-item-label,
  .fxf-privacy label { font-size: .72rem; line-height: 1.55; }
  .fxf-privacy input[type="checkbox"] { width: 16px; height: 16px; }

  .fxf-submit { flex-direction: column; align-items: stretch; gap: .65rem; padding: 1.1rem; }
  .fxf-btn-submit { justify-content: center; width: 100%; font-size: .85rem; }
  .fxf-submit .wpcf7-submit {
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: 48px;
  }
  .fxf-submit__note { justify-content: center; font-size: .7rem; }

  .fxf-msg { margin: 0 1.1rem 1rem; }
}

/* ── Small mobile ── */
@media (max-width: 380px) {
  .fxf-hero { padding: 6rem .9rem 2rem; }
  .fxf-why__item { min-width: 100%; flex: 0 0 100%; border-right: none !important; }
  .fxf-card { border-radius: 12px; }
  .fxf-card__section { padding: 1rem; }
  .fxf-form-section { padding: 2rem .75rem 3rem; }
  .fxf-pills .wpcf7-list-item-label {
    width: 100%;
    text-align: center;
  }
  .fxf-pills .wpcf7-list-item {
    flex: 1 1 100%;
  }
}
