/* ============================================================
   BYZZ SMART AI — Estilos propios
   Archivo editable. No es una copia de librería externa.
   ============================================================ */

/* RESET BÁSICO */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; background: #0a0a0a; color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; }

/* Escala visual de contenido (sin afectar fondos ni altura de secciones) */
:root { --section-content-scale: 0.88; }

#index-page .section .i_part2 .con,
#index-page .section .i_part2 .imgbox,
#index-page .section .i_part5 .con,
#index-page .section .i_part5 .list,
#index-page .section .i_part6 .top,
#index-page .section .i_part6 .list,
#index-page .section .i_part_avd .avd-top,
#index-page .section .i_part_avd .avd-cols,
#index-page .section .i_part_avd .avd-cta {
    transform: scale(var(--section-content-scale));
}

#index-page .section .i_part2 .con,
#index-page .section .i_part2 .imgbox,
#index-page .section .i_part6 .top,
#index-page .section .i_part6 .list { transform-origin: left center; }

#index-page .section .i_part5 .con,
#index-page .section .i_part5 .list,
#index-page .section .i_part_avd .avd-top,
#index-page .section .i_part_avd .avd-cols,
#index-page .section .i_part_avd .avd-cta { transform-origin: center center; }

/* =====================
   VARIABLES
   ===================== */
:root {
    --green: #e0e0e0;
    --green-dim: rgba(255,255,255,0.10);
    --green-border: rgba(255,255,255,0.38);
    --white-text: rgba(255,255,255,0.85);
    --white-dim: rgba(255,255,255,0.5);
    --white-ghost: rgba(255,255,255,0.12);
    --overlay: rgba(0,0,0,0.5);
    --radius-btn: 999px;
    --radius-card: 12px;
}

/* =====================
   HEADER
   ===================== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    height: 68px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--white-ghost);
    transition: background 0.3s;
}
.header.ny_header { background: rgba(0,0,0,0.85); }

.header .logo { position: absolute; left: 40px; line-height: 0; }
.header .logo img { height: 36px; display: block; }

.header .h_nav {
    display: flex;
    list-style: none;
    gap: 28px;
}
.header .h_nav li {
    position: relative;
}
.header .h_nav li a {
    color: rgba(255,255,255,0.38);
    text-decoration: none;
    font-size: 0.78rem;
    font-family: 'Georgia', 'Times New Roman', serif;
    letter-spacing: 0.06em;
    transition: color 0.2s;
    display: block;
    padding: 4px 0;
}
.header .h_nav li a:hover { color: rgba(255,255,255,0.95); }
/* Tooltip custom */
.header .h_nav li a::after {
    content: attr(data-label);
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: rgba(10,14,20,0.92);
    color: #fff;
    font-size: 0.72rem;
    font-family: inherit;
    font-style: normal;
    letter-spacing: 0.08em;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.header .h_nav li a:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.header .h_right { position: absolute; right: 40px; }
.header .h_lag {
    color: var(--green);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    padding: 7px 18px;
    border: 1px solid var(--green-border);
    border-radius: var(--radius-btn);
    white-space: nowrap;
    transition: background 0.2s;
}
.header .h_lag:hover { background: var(--green-dim); }

/* Header móvil — oculto en desktop */
.m_header { display: none; }
.mh_nav { display: none; }

/* =====================
   FULLPAGE WRAPPER
   ===================== */
.fullpage-wrapper { height: 100%; }
.section { position: relative; }

/* =====================
   SECCIÓN 1 — HERO BANNER
   ===================== */
.banner { position: relative; width: 100%; height: 100%; overflow: hidden; }
.banner .swiper-wrapper,
.banner .swiper-slide { width: 100%; height: 100%; display: flex; align-items: center; }

.banner .pic { position: absolute; inset: 0; }
.banner .pic video { width: 100%; height: 100%; object-fit: cover; }
.banner .pic::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 100%);
}

.banner .txt {
    position: relative;
    margin-left: 7%;
    z-index: 10;
    max-width: 600px;
    flex-shrink: 0;
}
.banner .txt h3 {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1.1rem;
}
.banner .txt .sub {
    color: var(--white-text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.6rem;
    max-width: 500px;
}
.banner .txt .ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 1rem;
}
.banner .txt .cta-main {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 26px;
    background: var(--green-dim);
    border: 1px solid var(--green);
    border-radius: var(--radius-btn);
    white-space: nowrap;
    transition: background 0.2s;
}
.banner .txt .cta-main:hover { background: rgba(255,255,255,0.18); }
.banner .txt .cta-sec {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    font-weight: 400;
    text-decoration: none;
    padding: 12px 22px;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: var(--radius-btn);
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s;
}
.banner .txt .cta-sec:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
.banner .txt .micro {
    color: rgba(255,255,255,0.38);
    font-size: 0.76rem;
}

.swiper-pagination { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 10; }

/* =====================
   NAV LATERAL DERECHA
   ===================== */
.right_nav {
    position: fixed;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.right_nav a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    text-decoration: none;
    color: var(--white-dim);
    font-size: 0.72rem;
}
.right_nav a p { opacity: 0; transition: opacity 0.2s; white-space: nowrap; }
.right_nav a i {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    display: inline-block;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.right_nav a:hover p,
.right_nav a.active p { opacity: 1; color: #fff; }
.right_nav a:hover i,
.right_nav a.active i { background: var(--green); transform: scale(1.4); }

/* =====================
   SECCIÓN 2 — EL PROBLEMA
   ===================== */
.i_part2 {
    width: 100%; height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
}
.i_part2::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.40); /* OPACIDAD S2/S4 — ajustar aquí */
}
.i_part2 .con {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 45%;
    padding: 0 0 0 7%;
}
.i_part2 .con .tit {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}
.i_part2 .con .p {
    font-size: 0.95rem;
    color: var(--white-text);
    margin-bottom: 1.1rem;
    line-height: 1.65;
}
.i_part2 .con .p-remate {
    margin-bottom: 1.6rem;
    color: rgba(255,255,255,0.78);
}
.i_part2 .con .btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.i_part2 .con .more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 24px;
    border: 1px solid var(--green-border);
    border-radius: var(--radius-btn);
    white-space: nowrap;
    background: rgba(255,255,255,0.08);
    transition: background 0.2s, border-color 0.2s;
}
.i_part2 .con .more:hover {
    background: rgba(255,255,255,0.18);
    border-color: var(--green);
}
.i_part2 .mpic { display: none !important; }

/* Sección 2 — grid de tarjetas */
.pain-grid {
    flex: 0 0 auto;
    width: 46%;
    padding-right: 7%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    position: relative;
    z-index: 2;
}
.pain-card {
    background: rgba(10, 14, 20, 0.78);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: none;
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: 0 0 0 1.5px rgba(255,255,255,0.10), 0 0 24px 6px rgba(255,255,255,0.12), 0 8px 32px rgba(0,0,0,0.55);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.pain-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}
.pain-card p {
    font-size: 0.82rem;
    color: var(--white-text);
    line-height: 1.55;
}
.pain-card:hover {
    transform: translateY(-4px);
    background: rgba(10, 14, 20, 0.85);
    box-shadow: 0 0 24px rgba(255,255,255,0.14), 0 12px 40px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.12);
}
.pain-card--si {
    box-shadow: 0 0 0 1.5px rgba(255,255,255,0.35), 0 0 24px 6px rgba(255,255,255,0.14), 0 8px 32px rgba(0,0,0,0.55);
}
.pain-card--si h4 { color: #ffffff; }
.pain-card--no {
    box-shadow: 0 0 0 1.5px rgba(255,255,255,0.08), 0 0 16px 4px rgba(0,0,0,0.30), 0 8px 32px rgba(0,0,0,0.55);
}
.pain-card--no h4 { color: rgba(255,255,255,0.42); }
/* =====================
   SECCIÓN 6 — ANTES VS DESPUÉS
   ===================== */
.i_part_avd { color: #fff; }
.avd-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.60); /* OPACIDAD S6 — ajustar aquí */
    z-index: 1;
}
.avd-top {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin-bottom: 2.5rem;
    padding: 0 20px;
}
.avd-top .tit {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.6rem;
}
.avd-top .p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
}
.avd-cols {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 60px;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 860px;
    padding: 0 5%;
}
.avd-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.avd-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 4px;
}
.avd-col--antes .avd-label { text-align: left; }
.avd-col--despues .avd-label { text-align: right; }
.avd-col--antes .pain-card { text-align: left; }
.avd-col--despues .pain-card { text-align: right; }
.avd-cta {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}
.avd-cta .more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 24px;
    border: 1px solid var(--green-border);
    border-radius: var(--radius-btn);
    white-space: nowrap;
    background: rgba(255,255,255,0.08);
    transition: background 0.2s, border-color 0.2s;
}
.avd-cta .more:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.6);
}

.i_part_faq::before { display: none; }
/* pain-grid variante: sin margen derecho fijo, se ajusta al contenedor */
.pain-grid--fit {
    width: 46%;
    padding-right: 7%;
    margin-right: 0;
}

/* Global primary button — reutilizable en cualquier sección */
.btn-primary {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    padding: 13px 28px;
    background: var(--green-dim);
    border: 1px solid var(--green);
    border-radius: var(--radius-btn);
    white-space: nowrap;
    transition: background 0.2s;
}
.btn-primary:hover { background: rgba(255,255,255,0.18); }

/* =====================
   SECCIÓN 3 — LA SOLUCIÓN
   ===================== */
.i_part5 {
    width: 100%; height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.i_part5 .bj { position: absolute; inset: 0; }
.i_part5 .bj video { width: 100%; height: 100%; object-fit: cover; }
.i_part5 .bj::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.62);
}
.i_part5 .top {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    margin-bottom: 2.5rem;
    max-width: 640px;
}
.i_part5 .top .tit {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.7rem;
}
.i_part5 .top .p {
    font-size: 0.95rem;
    color: var(--white-text);
    line-height: 1.65;
}
.i_part5 .list {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 18px;
    padding: 0 5%;
    flex-wrap: nowrap;
    justify-content: center;
}
.i_part5 .list .item {
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: none;
    border-radius: var(--radius-card);
    padding: 24px;
    flex: 1 1 0;
    max-width: 210px;
    min-width: 0;
    text-decoration: none;
    color: #fff;
    position: relative;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 8px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.12);
    transition: background 0.22s, box-shadow 0.22s, transform 0.22s;
}
.i_part5 .list .item:hover {
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.30), 0 12px 40px rgba(0,0,0,0.40), inset 0 1px 0 rgba(255,255,255,0.18);
    transform: translateY(-4px);
}
.i_part5 .list .item .icon { display: none; }
.i_part5 .list .item .h_1 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.45rem; }
.i_part5 .list .item .p_1 { font-size: 0.82rem; color: rgba(255,255,255,0.62); line-height: 1.55; }
.i_part5 .list .item .more1 {
    font-size: 0.76rem;
    color: var(--green);
    margin-top: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}
.i_part5 .list .item .more1 .arrow-down {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 200;
    color: rgba(255,255,255,0.30);
    text-shadow: 0 0 12px rgba(255,255,255,0.55), 0 0 28px rgba(255,255,255,0.25);
    transform: rotate(90deg);
    animation: pulse-arrow 2s ease-in-out infinite;
}
.i_part5 .list .item .more1 img { width: 12px; filter: none; }

/* Alineación de texto por posición */
.i_part5 .list .item:nth-child(1),
.i_part5 .list .item:nth-child(2) { text-align: left; }
.i_part5 .list .item:nth-child(3)  { text-align: center; }
.i_part5 .list .item:nth-child(4),
.i_part5 .list .item:nth-child(5) { text-align: right; }
.i_part5 .list .item--cta {
    box-shadow: 0 0 0 1.5px rgba(255,255,255,0.45), 0 0 32px 8px rgba(255,255,255,0.18), 0 8px 32px rgba(0,0,0,0.55);
    background: rgba(255,255,255,0.14);
}

/* Destellos direccionales en tarjetas exteriores */
.arrow-center {
    position: absolute;
    bottom: 16px;
    font-size: 1.3rem;
    font-weight: 200;
    color: rgba(255,255,255,0.30);
    text-shadow: 0 0 12px rgba(255,255,255,0.55), 0 0 28px rgba(255,255,255,0.25);
    animation: pulse-arrow 2s ease-in-out infinite;
}
.arrow-right { left: 16px; }
.arrow-left  { right: 16px; }
@keyframes pulse-arrow {
    0%, 100% { opacity: 0.35; text-shadow: 0 0 10px rgba(255,255,255,0.40); }
    50%       { opacity: 0.90; text-shadow: 0 0 20px rgba(255,255,255,0.80), 0 0 40px rgba(255,255,255,0.30); }
}

/* =====================
   SECCIÓN 4 — CASOS REALES
   ===================== */
.i_part6 {
    width: 100%; height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.i_part6::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.62);
}
.i_part6 .top {
    position: relative;
    z-index: 2;
    padding: 0 7%;
    margin-bottom: 2rem;
}
.i_part6 .top .tit {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.6rem;
}
.i_part6 .top .p {
    font-size: 0.95rem;
    color: var(--white-text);
}
.i_part6 .list {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 16px;
    padding: 0 7%;
    flex-wrap: wrap;
}
.i_part6 .list .item {
    background: var(--white-ghost);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-card);
    padding: 20px 24px;
    min-width: 190px;
    max-width: 260px;
}
.i_part6 .list .item .num {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 0.45rem;
}
.i_part6 .list .item .dw {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.45rem;
}
.i_part6 .list .item .p1 {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.55;
}
.i_part6 .mpic { display: none !important; }

/* =====================
   SECCIÓN 5 — CIERRE + FOOTER
   ===================== */
.i_part8 {
    background: #0d0d0d;
    width: 100%;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 96px 7% 56px;
    gap: 48px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.i_part8 .left {
    flex: 1;
    min-width: 260px;
    max-width: 420px;
    padding-top: 20px;
}
.i_part8 .left .tit {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 1rem;
}
.i_part8 .left .sub-cta {
    font-size: 0.9rem;
    color: var(--white-text);
    line-height: 1.65;
    margin-bottom: 1.4rem;
}
.i_part8 .left .cta-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.i_part8 .left .cta-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--white-text);
    line-height: 1.45;
}
.i_part8 .left .cta-bullets li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    margin-top: 0.38em;
}
.i_part8 .right.form-col {
    flex: 1;
    min-width: 300px;
    max-width: 540px;
}
.i_part8 > .img {
    position: absolute;
    right: 5%;
    bottom: 10%;
    width: 200px;
    opacity: 0.06;
}

/* =====================
   FOOTER
   ===================== */
.footer {
    background: #080808;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 24px 7%;
}
.f_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.f_top .right { display: flex; gap: 18px; }
.f_top .right a {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s;
}
.f_top .right a:hover { color: #fff; }
.f_bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.f_bottom .left a {
    color: var(--green);
    font-size: 0.78rem;
    text-decoration: none;
}
.f_bottom .right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.f_bottom .right p,
.f_bottom .right a,
.f_bottom .right span {
    color: rgba(255,255,255,0.35);
    font-size: 0.76rem;
    text-decoration: none;
}
.f_bottom .right a:hover { color: rgba(255,255,255,0.7); }
.f_bottom .back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 12px;
}
.f_bottom .back img { width: 14px; filter: brightness(0) invert(0.5); }

/* =====================
   SCROLL INDICATOR
   ===================== */
.i_scl {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    opacity: 0.45;
    z-index: 10;
}
.i_scl .kuai {
    width: 20px; height: 30px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding-top: 4px;
}
.i_scl .kuai .dian {
    width: 4px; height: 6px;
    background: #fff;
    border-radius: 2px;
    animation: scrollDot 1.6s ease-in-out infinite;
}
.i_scl .p { font-size: 0.68rem; color: #fff; }
@keyframes scrollDot {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* =====================
   ANIMACIÓN ENTRADA .dh
   ===================== */
.dh {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
/* fullPage quita .dh al cargar la sección */

/* =====================
   RESPONSIVE BÁSICO
   ===================== */
@media (max-width: 1024px) {
    html, body { overflow: auto; }
    .header { padding: 0 20px; height: 60px; }
    .header .logo { left: 20px; }
    .header .h_right { display: none; }
    .header .h_nav { gap: 18px; }
    .right_nav { display: none; }
    .banner .txt { margin-left: 5%; max-width: 90%; }
    .banner .txt h3 { font-size: 1.8rem; }
    .i_part2 .con,
    .i_part6 .top,
    .i_part6 .list,
    .i_part8 { padding: 20px 5%; }
    .i_part5 .list .item { max-width: 100%; }
    .i_part6 .list .item { min-width: 140px; }
    .i_part8 { flex-direction: column; justify-content: flex-start; padding: 40px 5%; gap: 24px; }
    .i_part8 .left { max-width: 100%; }
    .i_part8 .left .tit { font-size: 1.2rem; }
    .i_part8 .right.form-col { min-width: 100%; max-width: 100%; }
}

@media (max-width: 900px) {
    .i_part2 {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        overflow-y: auto;
        padding: 60px 0 40px;
    }
    .i_part2 .con {
        width: 100%;
        padding: 0 5%;
    }
    .pain-grid {
        width: 100%;
        padding: 14px 5% 0;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}
