/* ════════════════════════════════════════════════════════════════════════
   Espace Pro Tire-Lait Express — Formulaire d'inscription
   Direction : éditoriale médico-moderne, palette TLE.
   Typo : Fraunces (display serif) + Manrope (body sans).
   ════════════════════════════════════════════════════════════════════════ */

.esf-form-body {
    --blue:        #3486C7;
    --blue-deep:   #1f6097;
    --blue-soft:   #DDEBF6;
    --orange:      #E8A212;
    --orange-deep: #C5860A;
    --orange-soft: #FCE7BB;
    --cream:       #F8F4ED;
    --paper:       #FFFFFF;
    --ink:         #1B2238;
    --ink-soft:    #4A526A;
    --muted:       #7B8499;
    --rule:        #E5E1D8;
    --error:       #C24F4F;
    --error-soft:  #FBEAEA;

    --radius-sm:   8px;
    --radius:      14px;
    --radius-lg:   24px;
    --shadow-sm:   0 1px 3px rgba(31,96,151,.06);
    --shadow:      0 12px 40px rgba(31,96,151,.10), 0 2px 6px rgba(31,96,151,.04);

    margin: 0;
    padding: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: 'Manrope', 'Segoe UI', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    background-image:
        radial-gradient(at 10% -10%, rgba(52,134,199,0.08) 0%, transparent 50%),
        radial-gradient(at 110% 0%, rgba(232,162,18,0.06) 0%, transparent 45%);
}

.esf-form-body *,
.esf-form-body *::before,
.esf-form-body *::after {
    box-sizing: border-box;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ── Topbar ─────────────────────────────────────────────────────────────── */
.esf-form-topbar {
    background: var(--ink);
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    letter-spacing: 0.6px;
    text-align: center;
    padding: 9px 16px;
}
.esf-form-topbar b {
    color: var(--orange);
    font-weight: 600;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.esf-form-hero {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 24px 24px;
    text-align: center;
    position: relative;
}
.esf-form-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue-deep);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
    margin-bottom: 28px;
}
.esf-form-back:hover {
    border-bottom-color: var(--blue-deep);
    color: var(--blue-deep);
    text-decoration: none;
}
.esf-arrow { font-size: 16px; line-height: 1; }
.esf-form-eyebrow {
    display: inline-block;
    background: var(--orange);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.esf-form-title {
    font-family: 'Fraunces', 'DM Serif Display', Georgia, serif;
    font-size: clamp(28px, 4.4vw, 44px);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin: 0 0 16px;
    font-variation-settings: 'opsz' 96;
}
.esf-form-title em {
    font-style: italic;
    color: var(--blue-deep);
    font-weight: 400;
}
.esf-form-lede {
    font-size: 16px;
    color: var(--ink-soft);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ── Main / Form container ──────────────────────────────────────────────── */
.esf-form-main {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 16px 80px;
}
.esf-form {
    background: var(--paper);
    border-radius: var(--radius-lg);
    padding: 8px 0;
    box-shadow: var(--shadow);
    border: 1px solid rgba(31,34,56,0.04);
    overflow: hidden;
}

/* ── Sections ───────────────────────────────────────────────────────────── */
.esf-section {
    padding: 36px 40px;
    border-bottom: 1px solid var(--rule);
}
.esf-section:last-of-type {
    border-bottom: none;
}
.esf-section-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}
.esf-section-head h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--ink);
    margin: 2px 0 4px;
    letter-spacing: -0.2px;
    font-variation-settings: 'opsz' 60;
}
.esf-section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* Chip numéroté */
.esf-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 6px 16px -4px rgba(31,96,151,0.4);
}
.esf-chip-blue {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
}
.esf-chip-orange {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
    box-shadow: 0 6px 16px -4px rgba(232,162,18,0.4);
}

/* ── Grids ──────────────────────────────────────────────────────────────── */
.esf-grid {
    display: grid;
    gap: 18px;
    margin-bottom: 18px;
}
.esf-grid:last-child { margin-bottom: 0; }
.esf-grid-2 { grid-template-columns: 1fr 1fr; }
.esf-grid-3 { grid-template-columns: 1fr 1fr 1fr; }

/* ── Fields (inputs) ────────────────────────────────────────────────────── */
.esf-field {
    display: block;
    margin-bottom: 18px;
    position: relative;
}
.esf-field:last-child { margin-bottom: 0; }
.esf-field > span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 8px;
}
.esf-field em {
    color: var(--orange);
    font-style: normal;
    font-weight: 700;
}
.esf-field input {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--rule);
    padding: 10px 0 12px;
    font: inherit;
    color: var(--ink);
    transition: border-color 0.2s ease, background 0.2s ease;
    border-radius: 0;
    outline: none;
}
.esf-field input::placeholder {
    color: var(--muted);
    opacity: 0.6;
}
.esf-field input:hover {
    border-bottom-color: var(--blue);
}
.esf-field input:focus {
    border-bottom-color: var(--blue-deep);
    background: linear-gradient(to top, rgba(52,134,199,0.04), transparent 70%);
}
.esf-field.is-error input {
    border-bottom-color: var(--error);
    background: linear-gradient(to top, rgba(194,79,79,0.05), transparent 70%);
}
.esf-field small {
    display: block;
    margin-top: 6px;
    color: var(--error);
    font-size: 12px;
    font-weight: 500;
}

.esf-field-autre {
    display: none;
    margin-top: 16px;
    padding-left: 28px;
    border-left: 2px solid var(--orange-soft);
}
.esf-field-autre.is-visible {
    display: block;
    animation: esf-slide-in 0.25s ease-out;
}

/* ── Combo autocomplete (Profession) ────────────────────────────────────── */
.esf-field-autocomplete {
    display: block;
    margin-bottom: 18px;
    position: relative;
}
.esf-field-autocomplete .esf-field-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 8px;
}
.esf-field-autocomplete em {
    color: var(--orange);
    font-style: normal;
    font-weight: 700;
}
.esf-combo {
    position: relative;
}

/* L'input chip-style — distinct des autres champs (encadré arrondi) */
.esf-combo-control {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px 12px 16px;
    background: var(--paper);
    border: 1.5px solid var(--rule);
    border-radius: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(31,96,151,0.03);
}
.esf-combo-control:hover {
    border-color: var(--blue);
}
.esf-combo.is-open .esf-combo-control,
.esf-combo-control:focus-within {
    border-color: var(--blue-deep);
    box-shadow: 0 0 0 4px rgba(52,134,199,0.12),
                0 4px 14px rgba(31,96,151,0.08);
}
.esf-field-autocomplete.is-error .esf-combo-control {
    border-color: var(--error);
    background: var(--error-soft);
}
.esf-combo-icon {
    width: 18px;
    height: 18px;
    color: var(--muted);
    flex-shrink: 0;
    transition: color 0.2s ease;
}
.esf-combo.is-open .esf-combo-icon,
.esf-combo-control:focus-within .esf-combo-icon {
    color: var(--blue-deep);
}
.esf-combo-input {
    flex: 1;
    background: transparent;
    border: 0;
    padding: 2px 0;
    font: inherit;
    color: var(--ink);
    outline: none;
    min-width: 0;
}
.esf-combo-input::placeholder {
    color: var(--muted);
    opacity: 0.8;
}
.esf-combo-clear {
    display: none;
    background: transparent;
    border: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: var(--muted);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    transition: all 0.15s ease;
}
.esf-combo-clear:hover {
    background: rgba(0,0,0,0.06);
    color: var(--ink);
}
.esf-combo.has-value .esf-combo-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.esf-combo-caret {
    color: var(--muted);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    transition: all 0.25s ease;
}
.esf-combo-caret svg {
    width: 16px;
    height: 16px;
}
.esf-combo.is-open .esf-combo-caret {
    transform: rotate(180deg);
    color: var(--blue-deep);
}

/* Dropdown — carte refined, ombre prononcée, animations soignées */
.esf-combo-list {
    position: absolute;
    z-index: 50;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--paper);
    border-radius: 16px;
    box-shadow:
        0 24px 60px rgba(31, 96, 151, 0.22),
        0 4px 12px rgba(31, 96, 151, 0.10),
        0 0 0 1px rgba(31, 34, 56, 0.04);
    max-height: 320px;
    overflow-y: auto;
    margin: 0;
    padding: 8px;
    display: none;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.esf-combo.is-open .esf-combo-list {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Petit header dans la dropdown */
.esf-combo-header {
    padding: 8px 14px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--rule);
    margin-bottom: 4px;
}

/* Options : ligne avec avatar initiale + nom + check à droite */
.esf-combo-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
    color: var(--ink);
    font-size: 14.5px;
    user-select: none;
}
.esf-combo-option + .esf-combo-option {
    margin-top: 2px;
}
.esf-combo-option:hover,
.esf-combo-option.is-active {
    background: linear-gradient(135deg, rgba(52,134,199,0.10), rgba(52,134,199,0.04));
    transform: translateX(2px);
}
.esf-combo-option.is-active {
    background: linear-gradient(135deg, rgba(52,134,199,0.16), rgba(52,134,199,0.06));
}

.esf-combo-avatar {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-soft) 0%, rgba(252,231,187,0.5) 100%);
    color: var(--blue-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 14px;
    border: 1.5px solid rgba(31,96,151,0.12);
}
.esf-combo-option:hover .esf-combo-avatar,
.esf-combo-option.is-active .esf-combo-avatar {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    color: white;
    border-color: var(--blue-deep);
}
.esf-combo-name {
    flex: 1;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.3;
}
.esf-combo-name mark {
    background: rgba(232,162,18,0.20);
    color: var(--orange-deep);
    font-weight: 700;
    padding: 0 2px;
    border-radius: 3px;
}
.esf-combo-check {
    display: inline-flex;
    align-items: center;
    color: var(--blue-deep);
    opacity: 0;
    transform: scale(0.7);
    transition: all 0.2s ease;
}
.esf-combo-check svg {
    width: 18px;
    height: 18px;
}
.esf-combo-option:hover .esf-combo-check,
.esf-combo-option.is-active .esf-combo-check {
    opacity: 1;
    transform: scale(1);
}

/* État empty / no-result */
.esf-combo-empty {
    padding: 24px 18px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}
.esf-combo-empty span {
    display: block;
    color: var(--ink-soft);
}
.esf-combo-empty b {
    color: var(--ink);
    font-weight: 700;
}
.esf-combo-empty small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
    font-style: italic;
}

/* Hint sous le champ */
.esf-combo-hint {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    font-style: italic;
    line-height: 1.5;
}
.esf-field-autocomplete.is-error .esf-combo-hint {
    color: var(--muted);
    font-style: italic;
}
.esf-combo-error {
    display: block;
    margin-top: 6px;
    color: var(--error);
    font-size: 12px;
    font-weight: 600;
}

/* Scrollbar fine sur le dropdown */
.esf-combo-list::-webkit-scrollbar {
    width: 8px;
}
.esf-combo-list::-webkit-scrollbar-track {
    background: transparent;
}
.esf-combo-list::-webkit-scrollbar-thumb {
    background: rgba(52,134,199,0.2);
    border-radius: 4px;
}
.esf-combo-list::-webkit-scrollbar-thumb:hover {
    background: rgba(52,134,199,0.35);
}

/* ── Radio groups ───────────────────────────────────────────────────────── */
.esf-radio-group {
    border: 0;
    padding: 0;
    margin: 0 0 24px;
}
.esf-radio-group:last-of-type { margin-bottom: 0; }
.esf-radio-group legend {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 12px;
    padding: 0;
}
.esf-radio-group em {
    color: var(--orange);
    font-style: normal;
    font-weight: 700;
}
.esf-radios {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.esf-radio {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.esf-radio input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.esf-radio span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--cream);
    border: 1.5px solid var(--rule);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: all 0.2s ease;
}
.esf-radio span::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--muted);
    background: transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.esf-radio:hover span {
    border-color: var(--blue);
    color: var(--ink);
}
.esf-radio input:checked + span {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    border-color: var(--blue-deep);
    color: white;
    box-shadow: 0 6px 18px -4px rgba(31,96,151,0.3);
}
.esf-radio input:checked + span::before {
    border-color: white;
    background: white;
    box-shadow: inset 0 0 0 3px var(--blue-deep);
}
.esf-radio input:focus-visible + span {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}
.esf-radio-group.is-error .esf-radios .esf-radio span {
    border-color: var(--error-soft);
}
.esf-radio-group > small {
    display: block;
    margin-top: 6px;
    color: var(--error);
    font-size: 12px;
    font-weight: 500;
}

/* Pills "Oui / Non" plus larges */
.esf-radio-pills .esf-radio-pill span {
    padding: 12px 36px;
    font-size: 15px;
    font-weight: 600;
}

/* ── Checkboxes ─────────────────────────────────────────────────────────── */
.esf-checks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.esf-check {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    background: var(--cream);
    border: 1.5px solid var(--rule);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}
.esf-check:hover {
    border-color: var(--blue);
    background: var(--blue-soft);
}
.esf-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.esf-check-box {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: white;
    border: 2px solid var(--muted);
    transition: all 0.2s ease;
    position: relative;
    margin-top: 1px;
}
.esf-check-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3 8 L7 12 L13 4'/></svg>");
    background-size: 14px 14px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}
.esf-check input:checked ~ .esf-check-box {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
    border-color: var(--orange-deep);
}
.esf-check input:checked ~ .esf-check-box::after {
    opacity: 1;
    transform: scale(1);
}
.esf-check input:checked ~ .esf-check-label {
    color: var(--ink);
    font-weight: 600;
}
.esf-check-label {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.5;
    flex: 1;
}
.esf-check input:focus-visible ~ .esf-check-box {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

/* ── Champ "Autres" (supports professionnels) ───────────────────────────── */
.esf-autres-detail {
    display: none;
    margin-top: 4px;
    padding: 12px 16px 12px 52px; /* indent aligné sur le label */
}
.esf-autres-detail.is-visible {
    display: block;
    animation: esf-slide-in 0.22s ease-out;
}
.esf-autres-detail input[type="text"] {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--rule);
    padding: 8px 0 10px;
    font: inherit;
    font-size: 14px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s ease;
}
.esf-autres-detail input[type="text"]:focus {
    border-bottom-color: var(--orange);
}
.esf-autres-detail input[type="text"]::placeholder {
    color: var(--muted);
    font-style: italic;
}

/* ── Flyers block ───────────────────────────────────────────────────────── */
.esf-flyers-block {
    display: none;
    margin-top: 28px;
    padding: 24px 24px 8px;
    background: linear-gradient(135deg, rgba(232,162,18,0.06) 0%, rgba(252,231,187,0.15) 100%);
    border: 1px dashed var(--orange);
    border-radius: var(--radius);
}
.esf-flyers-block.is-visible {
    display: block;
    animation: esf-slide-in 0.3s ease-out;
}
.esf-flyers-title {
    margin: 0 0 18px;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--orange-deep);
}

/* ── RGPD ───────────────────────────────────────────────────────────────── */
.esf-section-rgpd {
    background: linear-gradient(135deg, var(--blue-soft) 0%, transparent 100%);
}
.esf-rgpd-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--blue-deep);
    letter-spacing: -0.2px;
    margin: 0 0 16px;
    font-variation-settings: 'opsz' 60;
}
.esf-check-rgpd {
    background: white;
    border-color: var(--blue);
}
.esf-check-rgpd.is-error {
    border-color: var(--error);
    background: var(--error-soft);
}
.esf-rgpd-error {
    display: block;
    margin-top: 8px;
    color: var(--error);
    font-size: 13px;
    font-weight: 600;
}

/* ── Submit ─────────────────────────────────────────────────────────────── */
.esf-submit-row {
    padding: 36px 40px 44px;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, var(--cream) 100%);
}
.esf-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
    color: white;
    border: 0;
    border-radius: 999px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    box-shadow: 0 12px 32px -8px rgba(232,162,18,0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    min-width: 280px;
}
.esf-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px -8px rgba(232,162,18,0.55);
    filter: brightness(1.03);
}
.esf-submit:active:not(:disabled) {
    transform: translateY(0);
}
.esf-submit:disabled {
    cursor: progress;
    filter: saturate(0.7) brightness(0.95);
}
.esf-submit-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255,255,255,0.4);
    border-top-color: white;
    border-radius: 50%;
    animation: esf-spin 0.7s linear infinite;
}
.esf-submit.is-loading .esf-submit-spinner { display: inline-block; }
.esf-submit.is-loading .esf-submit-label::after { content: '…'; }
.esf-submit-note {
    margin: 18px 0 0;
    font-size: 12px;
    color: var(--muted);
}
.esf-submit-note em {
    color: var(--orange);
    font-style: normal;
    font-weight: 700;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.esf-form-footer {
    padding: 24px 16px 40px;
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.4px;
}

/* ── Animations ─────────────────────────────────────────────────────────── */
@keyframes esf-slide-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes esf-spin {
    to { transform: rotate(360deg); }
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
    .esf-form-hero {
        padding: 36px 20px 16px;
    }
    .esf-form-main {
        padding: 16px 12px 60px;
    }
    .esf-section {
        padding: 28px 22px;
    }
    .esf-grid-2,
    .esf-grid-3 {
        grid-template-columns: 1fr;
    }
    .esf-section-head {
        gap: 12px;
    }
    .esf-chip {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
    .esf-section-head h2 {
        font-size: 19px;
    }
    .esf-submit-row {
        padding: 28px 22px 32px;
    }
    .esf-submit {
        width: 100%;
        min-width: 0;
        padding: 16px 24px;
    }
    .esf-flyers-block {
        padding: 18px 18px 4px;
    }
}

@media (max-width: 420px) {
    .esf-radios { gap: 8px; }
    .esf-radio span { padding: 9px 14px; font-size: 13px; }
}
