/****************************************************
   TOPONE HERO – BANNER CHÍNH (TỐI ƯU – FORM MINI)
****************************************************/

/* KHỐI HERO (banner) */
.topone-hero {
    max-width: 1000px;
    margin: 30px auto;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    font-family: 'Inter', system-ui, sans-serif;
    background: transparent !important;
}

/* CỘT TRÁI */
.topone-hero .left {
    flex: 1;
    min-width: 300px;
}

.topone-hero .eyebrow {
    color: #0f63f4;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.topone-hero h1 {
    font-size: 42px;
    margin: 0 0 15px;
    line-height: 1.2;
    color: #0b2b3a;
    font-weight: 800;
}

.topone-hero .lead {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 90%;
}

/* ==================================================
   4 Ô DỊCH VỤ
================================================== */
.topone-hero .benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.topone-hero .benefit {
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: calc(50% - 8px);
    box-sizing: border-box;
    transition: 0.3s ease;
    border: 1px solid transparent;
    cursor: default;
}

.topone-hero .benefit:hover {
    transform: translateY(-5px);
    background: #fff;
}

.topone-hero .benefit strong { font-size: 15px; }
.topone-hero .benefit span  { font-size: 13px; opacity: 0.8; }

/* MÀU */
.benefit.ads      { background:#eef7ff; color:#1877f2; }
.benefit.ads:hover{ border-color:#1877f2; box-shadow:0 10px 20px rgba(24,119,242,0.15); }

.benefit.web      { background:#fbf5ff; color:#9333ea; }
.benefit.web:hover{ border-color:#9333ea; box-shadow:0 10px 20px rgba(147,51,234,0.15); }

.benefit.company      { background:#fffbf0; color:#d97706; }
.benefit.company:hover{ border-color:#d97706; box-shadow:0 10px 20px rgba(217,119,6,0.15); }

.benefit.acc      { background:#f0fdf4; color:#16a34a; }
.benefit.acc:hover{ border-color:#16a34a; box-shadow:0 10px 20px rgba(22,163,74,0.15); }

/* CTA */
.topone-hero .cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.topone-hero .btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.topone-hero .btn-primary {
    background: linear-gradient(90deg,#0f63f4,#2575fc);
    color: #fff;
    box-shadow: 0 4px 15px rgba(15,99,244,0.4);
}
.topone-hero .btn-primary:hover { transform: translateY(-3px); }

.topone-hero .btn-outline {
    background: transparent;
    border: 2px solid #0f63f4;
    color: #0f63f4;
}
.topone-hero .btn-outline:hover {
    background: #0f63f4;
    color: #fff;
}

/* KPIs */
.topone-hero .kpis {
    display: flex;
    gap: 30px;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.topone-hero .kpi strong {
    color: #0f63f4;
    font-size: 22px;
    font-weight: 800;
}

.topone-hero .kpi div {
    font-size: 13px;
    color: #666;
}

/****************************************************
   FORM MINI – TỐI ƯU
****************************************************/

.topone-form {
    width: 380px;
    max-width: 100%;
    flex-shrink: 0;

    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(15,99,244,0.1);
    border-radius: 15px;

    padding: 10px !important;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    position: relative;
}

.topone-form .form-title {
    color: #0b2b3a;
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 4px;
}

.topone-form .form-sub {
    color: #555;
    font-size: 13px;
    margin-bottom: 6px !important;
}

/* GRID FORM */
.topone-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.topone-form .full-width {
    grid-column: 1 / -1;
}

.topone-form input,
.topone-form select,
.topone-form textarea {
    padding: 6px 10px !important;
    font-size: 12px !important;
    border: 1px solid #dbe0eb;
    border-radius: 4px !important;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.topone-form select {
    height: 30px !important;
}

.topone-form textarea {
    min-height: 50px !important;
}

.topone-form .wpcf7-form-control-wrap,
.topone-form .row.form-row-custom {
    margin-bottom: 6px !important;
}

.topone-form .form-row-custom .col {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

/* SUBMIT */
.topone-form button[type="submit"] {
    grid-column: 1 / -1;
    width: 100%;
    padding: 6px !important;
    margin-top: 4px !important;
    border-radius: 4px !important;
    background: #0f63f4;
    color: #fff;
    font-size: 12px !important;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.topone-form button[type="submit"]:hover {
    background: #004ecb;
    transform: translateY(-2px);
}

/****************************************************
   MOBILE
****************************************************/
@media (max-width: 991px) {
    .topone-hero {
        flex-direction: column;
        padding: 20px 15px;
        gap: 30px;
    }
    .topone-hero h1 { font-size: 32px; }
    .topone-hero .benefit { width: 100%; }
    .topone-hero .cta { flex-direction: column; }
    .topone-hero .btn { width: 100%; text-align: center; }

    .topone-form {
        width: 100%;
        padding: 15px !important;
    }
    .topone-form form {
        grid-template-columns: 1fr !important;
    }
}
