/* ========== Promo Form Generator – front.css ========== */

.pfg-wrap {
    --pfg-primary: #1e2d6b;
    --pfg-accent:  #e53e2a;
    --pfg-bg:      #eef1f8;
    --pfg-card:    #ffffff;
    background: var(--pfg-bg);
    border-radius: 20px;
    padding: 8px;
    display: inline-block;
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
    font-family: "Helvetica", sans-serif;

}

.pfg-card {
    background: var(--pfg-card);
    border-radius: 14px;
    padding: 28px 24px 22px;
    box-shadow: 0 4px 32px rgba(0,0,0,.08);
}

/* Headline */
.pfg-headline {
    font-size: clamp(26px, 6vw, 36px);
    font-weight: 900;
    color: var(--pfg-primary);
    line-height: 1.1;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.pfg-sub {
    font-size: 15px;
    color: #4a5568;
    margin: 0 0 18px;
    line-height: 1.45;
}

/* Timer */
.pfg-timer-wrap {
    margin-bottom: 18px;
}

.pfg-timer-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #555;
    margin: 0 0 8px;
}

.pfg-timer {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: var(--pfg-accent);
    color: #fff;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.pfg-timer-part {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    white-space: nowrap;
}

.pfg-timer-part + .pfg-timer-part::before {
    content: '';
    display: inline-block;
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,.4);
    margin: 0 10px 0 8px;
    align-self: center;
}

.pfg-t-val {
    font-size: 18px;
    font-weight: 900;
    min-width: 22px;
    text-align: right;
}

/* Native form */
.pfg-phone-row {
    display: flex;
    align-items: center;
    border: 1.5px solid #d0d7e8;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 7px;
    background: #f8f9fc;
    transition: border-color .2s;
}

.pfg-phone-row:focus-within {
    border-color: var(--pfg-primary);
    background: #fff;
}

.pfg-prefix {
    padding: 0 12px;
    font-weight: 700;
    font-size: 14px;
    color: #222;
    white-space: nowrap;
    border-right: 1.5px solid #d0d7e8;
    height: 48px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pfg-caret {
    font-size: 10px;
    opacity: .6;
}

.pfg-phone-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 14px;
    height: 48px;
    font-size: 15px;
    outline: none;
    color: #222;
}

.pfg-phone-input::placeholder {
    color: #a0aec0;
}

.pfg-disclaimer {
    font-size: 11.5px;
    color: #888;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* CTA Button */
.pfg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: var(--pfg-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .3px;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 18px rgba(30,45,107,.25);
}

.pfg-btn:hover {
    background: color-mix(in srgb, var(--pfg-primary) 85%, black);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(30,45,107,.35);
}

.pfg-btn:active {
    transform: translateY(0);
}

.pfg-arrow {
    font-size: 20px;
    line-height: 1;
}

/* CF7 wrapper */
.pfg-cf7-wrap .wpcf7 {
    margin: 0;
}
/*
.pfg-cf7-wrap input[type="tel"],
.pfg-cf7-wrap input[type="text"],
.pfg-cf7-wrap input[type="email"] {
    width: 100%;
    height: 48px;
    border: 1.5px solid #d0d7e8;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color .2s;
    outline: none;
}*/

.pfg-cf7-wrap input:focus {
    border-color: var(--pfg-primary);
}

.pfg-cf7-wrap input[type="submit"] {
    display: flex;
    width: 100%;
    background: var(--pfg-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .3px;
    transition: background .2s;
    margin-top: 10px;
}

.pfg-cf7-wrap input[type="submit"]:hover {
    background: color-mix(in srgb, var(--pfg-primary) 85%, black);
}

/* Stats grid */
.pfg-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 0px;
    padding-top: 0px;
}

.pfg-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 8px;
    gap: 6px;
}

.pfg-stat-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.pfg-stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pfg-stat-text {
    font-size: 12.5px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.pfg-stat-text strong {
    color: #1a202c;
    font-weight: 700;
}

.pfg-stat:nth-child(3n+3),
.pfg-stat:nth-child(3n+4) {
    border-top: 1px solid #E1E5EF;
}

.pfg-stat:nth-child(odd){
    border-right: 1px solid #E1E5EF;
}

@media (max-width: 400px) {
    .pfg-card { padding: 20px 16px 18px; }
    .pfg-timer { padding: 8px 12px; font-size: 13px; }
    .pfg-t-val { font-size: 15px; }
}


.pfg-cf7-wrap .wpcf7 p, .pfg-cf7-wrap form{
    margin-bottom: 0!important;
}
.pfg-cf7-wrap {
    .wpcf7-submit {
        font-weight: 600;
        font-size:16px;
    }
}