/* ═══════════════════════════════════════════════════════════════
   CHAMSPACE HOME CSS — .home-v1 namespace
   Based on DV3 design system — v3.2
   v4.2 — mobile cursor disabled + service cards padding fix
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   1. HERO
   ═══════════════════════════════════════════════════════════════ */
/* ── Mobile: force hide cursor elements ── */
@media (max-width: 1024px) {
    .mf-cursor,
    .mf-cursor-text,
    #mf-cursor,
    [class*="mouse-follower"],
    [id*="mouse-follower"] {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

.home-v1 { color:#1a1a1a; font-family:'Plus Jakarta Sans',sans-serif; font-weight:400; }

.home-v1-hero { position:relative; width:100%; height:clamp(480px,68vh,760px); border-radius:16px; overflow:hidden; }
.home-v1-hero-img { width:100%; height:100%; object-fit:cover; }
.home-v1-hero-veil { position:absolute; inset:0; background:linear-gradient(155deg,rgba(0,0,0,0.12) 0%,rgba(0,0,0,0.0) 38%,rgba(0,0,0,0.68) 100%); border-radius:16px; }
.home-v1-hero-tag { position:absolute; top:clamp(24px,4vw,44px); right:clamp(24px,4vw,44px); background:rgba(0,0,0,0.55); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); border:1px solid rgba(255,255,255,0.10); border-radius:100px; padding:10px 20px; display:flex; align-items:center; gap:8px; z-index:3; }
.home-v1-hero-tag-dot { width:8px; height:8px; border-radius:50%; background:#E20612; animation:homeBlink 2s ease-in-out infinite; }
@keyframes homeBlink { 0%,100%{opacity:1} 50%{opacity:0.20} }
.home-v1-hero-tag span { font-size:12px; font-weight:600; color:#fff; text-transform:uppercase; letter-spacing:0.06em; }
.home-v1-hero-body { position:absolute; bottom:calc(clamp(48px,8vh,88px) - 50px); left:clamp(24px,5vw,56px); right:clamp(24px,5vw,56px); }

.home-v1-hero-kicker {
    display: inline-block;
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: #E20612;
    background: rgba(226,6,18,0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226,6,18,0.20);
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 18px;
}

.home-v1-hero-body h1 { font-size:clamp(2.6rem,7vw,6rem); font-weight:800; color:#fff; line-height:0.92; letter-spacing:-0.03em; text-shadow:0 4px 48px rgba(0,0,0,0.40); margin:0 0 16px; }
.home-v1-hero-sub { font-size:15px; color:rgba(255,255,255,0.55); max-width:460px; line-height:1.7; }

/* ═══════════════════════════════════════════════════════════════
   2. DESIGN & BUILD
   ═══════════════════════════════════════════════════════════════ */
.home-v1-hero + .home-v1-sec { padding-top: 16px !important; }
.home-v1-sec { padding: 30px 0; position: relative; }

.home-v1-db { background:#fff; border:1px solid #e5e5e5; border-radius:18px; overflow:hidden; display:flex; flex-direction:column; min-height:clamp(520px,60vh,680px); }
.home-v1-db-diagram { padding:56px 60px 48px; display:grid; grid-template-columns:290px 1fr; gap:114px; align-items:center; }
.home-v1-db-graphic { width:360px; height:290px; position:relative; }

/* Circles — 15% overlap (~30px out of 195px) */
.home-v1-db-circle { position:absolute; width:195px; height:195px; border-radius:50%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; transition:transform 0.3s; }
.home-v1-db-circle:hover { transform:scale(1.05); }
.home-v1-db-circle--d { left:0; top:48px; z-index:2; background:rgba(26,26,26,0.95); border:1px solid rgba(255,255,255,0.10); box-shadow:0 15px 60px rgba(0,0,0,0.18); }
.home-v1-db-circle--b { left:165px; top:48px; z-index:1; background:rgba(226,6,18,0.94); border:1px solid rgba(255,255,255,0.10); box-shadow:0 15px 60px rgba(226,6,18,0.18); }

.home-v1-db-circle-sub { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.14em; color:rgba(255,255,255,0.30); }
.home-v1-db-circle-label { font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:0.10em; color:rgba(255,255,255,0.60); }
.home-v1-db-circle-title { font-size:34px; font-weight:800; color:#fff; letter-spacing:-0.02em; }
.home-v1-db-circle-desc { font-size:10px; color:rgba(255,255,255,0.40); margin-top:2px; }
.home-v1-db-circle-label-row { display:flex; align-items:center; gap:6px; justify-content:center; }
.home-v1-db-circle-label-col { display:flex; flex-direction:column; align-items:center; gap:3px; }
.home-v1-db-circle-accent { width:24px; height:24px; border-radius:50%; background:#E20612; flex-shrink:0; box-shadow:0 0 0 4px rgba(226,6,18,0.25); }

/* Connectors — through intersection zone */
.home-v1-db-conn { position:absolute; top:148px; height:1px; z-index:0; }
.home-v1-db-conn--l { left:96px; width:50px; background:linear-gradient(90deg,rgba(26,26,26,0.50),transparent); }
.home-v1-db-conn--r { left:190px; width:50px; background:linear-gradient(90deg,transparent,rgba(226,6,18,0.50)); }

/* Copy */
.home-v1-db-copy-kicker { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.14em; color:#E20612; background:rgba(226,6,18,0.18); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border:1px solid rgba(226,6,18,0.20); padding:5px 14px; border-radius:4px; display:inline-flex; align-items:center; gap:12px; margin-bottom:18px; }
.home-v1-db-copy-kicker::after { content:''; flex:1; width:40px; height:1px; background:rgba(226,6,18,0.30); }
.home-v1-db-copy h3 { font-size:clamp(22px,3.5vw,38px); font-weight:800; color:#1a1a1a; line-height:1.15; letter-spacing:-0.03em; margin:0 0 14px; }
.home-v1-db-copy p { font-size:14px; color:#555; line-height:1.8; margin:0 0 32px; max-width:440px; }
.home-v1-db-copy p strong { font-weight:700; color:#1a1a1a; }

/* Figures */
.home-v1-db-figures { display:flex; gap:48px; }
.home-v1-db-fig-num { font-size:34px; font-weight:800; color:#1a1a1a; display:block; letter-spacing:-0.03em; line-height:1; margin-bottom:4px; }
.home-v1-db-fig-cap { font-size:11px; color:#888; text-transform:uppercase; letter-spacing:0.06em; display:block; }

/* Bottom images — 50/50 split with text above */
.home-v1-db-images { display:grid; grid-template-columns:1fr 1fr; position:relative; flex:1; min-height:50%; }
.home-v1-db-img-pane { position:relative; overflow:hidden; display:flex; align-items:flex-end; padding:clamp(28px,4vw,44px); }
.home-v1-db-img-pane--d { background:#0d0d0d; border-radius:16px 0 0 16px; }
.home-v1-db-img-pane--b { background:#1a1a1a; border-radius:0 16px 16px 0; }
.home-v1-db-img-pane img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0.42; transition:transform 0.8s cubic-bezier(0.2,0.36,0.12,1),opacity 0.8s; }
.home-v1-db-img-pane:hover img { transform:scale(1.08); opacity:0.68; }
.home-v1-db-divider { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:58px; height:58px; border-radius:50%; background:#E20612; z-index:10; display:flex; align-items:center; justify-content:center; box-shadow:0 0 0 8px rgba(226,6,18,0.18),0 8px 32px rgba(226,6,18,0.25); transition:transform 0.5s cubic-bezier(0.34,1.56,0.64,1); }
.home-v1-db-divider:hover { transform:translate(-50%,-50%) scale(1.15) rotate(45deg); }
.home-v1-db-divider::after { content:''; width:24px; height:24px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.home-v1-db-img-caption { position:relative; z-index:2; width:100%; }
.home-v1-db-caption-dot { display:inline-block; width:8px; height:8px; border-radius:50%; margin-bottom:12px; }
.home-v1-db-img-pane--d .home-v1-db-caption-dot { background:#fff; }
.home-v1-db-img-pane--b .home-v1-db-caption-dot { background:#E20612; }
.home-v1-db-caption-label { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.14em; color:rgba(255,255,255,0.32); display:block; margin-bottom:12px; }
.home-v1-db-img-caption h4 { font-size:clamp(18px,2.5vw,28px); font-weight:800; color:#fff; line-height:1.10; margin:0 0 8px; letter-spacing:-0.02em; transition:transform 0.4s ease; }
.home-v1-db-img-pane:hover .home-v1-db-img-caption h4 { transform:translateY(-4px); }
.home-v1-db-img-caption p { font-size:13px; color:rgba(255,255,255,0.38); line-height:1.6; max-width:320px; margin:0; transition:color 0.4s ease; }
.home-v1-db-img-pane:hover .home-v1-db-img-caption p { color:rgba(255,255,255,0.58); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 1024px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width:1024px) {
    .home-v1-db-diagram { grid-template-columns:250px 1fr; gap:80px; padding:40px 32px 36px; }
    .home-v1-db-graphic { width:250px; height:250px; margin:0 auto; }
    .home-v1-db-circle { width:140px; height:140px; }
    .home-v1-db-circle--d { left:0; top:40px; }
    .home-v1-db-circle--b { left:115px; top:40px; }
    .home-v1-db-circle-title { font-size:28px; }
    .home-v1-db-conn { top:125px; }
    .home-v1-db-conn--l { left:80px; width:50px; }
    .home-v1-db-conn--r { left:170px; width:40px; }
    .home-v1-db-figures { gap:32px; }
    .home-v1-db-fig-num { font-size:28px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 768px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width:768px) {
    .home-v1-hero { height:clamp(360px,50vh,500px); }
    /* (1) Text move DOWN - smaller bottom = closer to bottom edge */
    .home-v1-hero-body { bottom: 20px; }
    .home-v1-hero-body h1 { font-size: clamp(3.1rem, 8vw, 6rem); }
    /* (2) Gap between hero and D&B = 16px */
    .home-v1-hero + .home-v1-sec { padding-top: 16px !important; }
    .home-v1-db-diagram { grid-template-columns:1fr; gap:32px; padding:24px 24px 21px; }
    .home-v1-db-graphic { width:280px; height:190px; margin:0 auto; }
    .home-v1-db-circle { width:155px; height:155px; }
    .home-v1-db-circle--d { top:20px; }
    .home-v1-db-circle--b { left:130px; top:20px; }
    .home-v1-db-circle-title { font-size:24px; }
    .home-v1-db-circle-sub { font-size:8px; }
    .home-v1-db-circle-label { font-size:10px; }
    .home-v1-db-circle-accent { width:20px; height:20px; }
    .home-v1-db-conn { top:100px; }
    .home-v1-db-conn--l { left:55px; width:40px; }
    .home-v1-db-conn--r { left:136px; width:40px; }
    .home-v1-db-copy h3 { font-size:clamp(23px,5.2vw,36px); }
    .home-v1-db-figures { gap:28px; }
    .home-v1-db-fig-num { font-size:28px; text-align:center; }
    .home-v1-db-fig-cap { font-size:9px; text-align:center; }

    /* (3) D&B images: brighter 1.5x, text up 80px, title white 1.2x */
    .home-v1-db-images { grid-template-columns:1fr; height:auto; min-height:auto; }
    .home-v1-db-img-pane { height: 32vh; padding:24px 20px; border-radius:0; align-items:flex-start; }
    .home-v1-db-img-pane--d { border-radius:12px 12px 0 0; }
    .home-v1-db-img-pane--b { border-radius:0 0 12px 12px; }
    .home-v1-db-img-pane img { opacity: 0.63; }
    .home-v1-db-img-caption { padding-top: 80px; }
    .home-v1-db-img-caption h4 { font-size: clamp(29px, 3.9vw, 44px); color: #fff; }
    .home-v1-db-img-caption p { color: rgba(255,255,255,0.55); }
    .home-v1-db-caption-label { color: rgba(255,255,255,0.45); }
    /* Divider rotates down between them */
    .home-v1-db-divider { left:50%; top:50%; transform:translate(-50%,-50%) rotate(90deg); }
    .home-v1-db-divider:hover { transform:translate(-50%,-50%) rotate(135deg) scale(1.15); }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 520px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width:520px) {
    .home-v1-hero { height:clamp(300px,48vh,380px); border-radius:12px; }
    .home-v1-hero-veil { border-radius:12px; }
    .home-v1-hero-body { bottom: 14px; }
    .home-v1-hero-body h1 { font-size:clamp(2.2rem,8vw,3rem); }
    .home-v1-hero-sub { font-size:13px; }

    .home-v1-db-diagram { gap:24px; padding:18px 16px 18px; }
    .home-v1-db-graphic { width:260px; height:180px; margin:0 auto; }
    .home-v1-db-circle { width:130px; height:130px; }
    .home-v1-db-circle--d { left:0; top:18px; }
    .home-v1-db-circle--b { left:108px; top:18px; }
    .home-v1-db-circle-title { font-size:20px; }
    .home-v1-db-circle-sub { font-size:7px; }
    .home-v1-db-circle-label { font-size:9px; }
    .home-v1-db-circle-accent { width:18px; height:18px; }
    .home-v1-db-conn { top:82px; }
    .home-v1-db-conn--l { left:50px; width:35px; }
    .home-v1-db-conn--r { left:125px; width:35px; }
    .home-v1-db-copy h3 { font-size:clamp(21px,5.85vw,31px); }
    .home-v1-db-copy p { font-size:13px; margin-bottom:24px; }
    .home-v1-db-figures { gap:16px; flex-wrap:nowrap; }
    .home-v1-db-fig-num { font-size:24px; text-align:center; }
    .home-v1-db-fig-cap { font-size:8px; max-width:80px; }

    .home-v1-db-images { grid-template-columns:1fr; height:auto; min-height:auto; }
    .home-v1-db-img-pane { height: 28vh; padding:18px 16px; border-radius:0; }
    .home-v1-db-img-pane--d { border-radius:10px 10px 0 0; }
    .home-v1-db-img-pane--b { border-radius:0 0 10px 10px; }
    .home-v1-db-img-caption h4 { font-size:clamp(21px,5.2vw,26px); }
    .home-v1-db-img-caption p { font-size:11px; }
}

/* ═══════════════════════════════════════════════════════════════
   3. DỊCH VỤ CHUYÊN MÔN
   ═══════════════════════════════════════════════════════════════ */
.home-v1-svc-sec { padding: 30px 0; }

/* ═══ Eyebrow — Shared pattern ═══ */
.home-v1-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; overflow: hidden; }
.home-v1-eyebrow-text { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: #E20612; white-space: nowrap; }
.home-v1-eyebrow-line { height: 1px; background: rgba(226,6,18,0.15); flex-grow: 1; min-width: 300px; }

.home-v1-svc-header { margin-bottom: 44px; position: relative; }
/* ── Section Titles — đồng bộ font + size ── */
.home-v1-svc-header h2,
.home-v1-feat-header h2,
.home-v1-proc-header h2,
.home-v1-usp-header h2 {
    font-size: clamp(26px, 5vw, 52px);
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin: 0;
    line-height: 1.05;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

@media (max-width: 768px) {
    .home-v1-svc-header h2,
    .home-v1-feat-header h2,
    .home-v1-proc-header h2,
    .home-v1-usp-header h2 {
        font-size: clamp(22px, 6vw, 36px);
    }
}
.home-v1-svc-header p { font-size: 14px; color: #555; line-height: 1.8; max-width: 580px; margin: 0; }

/* Legacy eyebrow classes — kept for backward compatibility */
.home-v1-svc-kicker-wrap { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; overflow: hidden; }
.home-v1-svc-kicker { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: #E20612; white-space: nowrap; }
.home-v1-svc-kicker-line { height: 1px; background: rgba(226,6,18,0.15); flex-grow: 1; min-width: 300px; position: relative; left: 0; }

.home-v1-svc-cards { display: flex; flex-direction: column; gap: 16px; }

.home-v1-svc-card { display: flex; background: #fff; border: 1px solid #e5e5e5; border-radius: 16px; overflow: hidden; height: 45vh; min-height: 380px; }
.home-v1-svc-card--reverse { flex-direction: row-reverse; }

/* Dark cards with logo pattern */
.home-v1-svc-card--dark { background: #1a1a1a; border-color: #222; position: relative; }
.home-v1-svc-card--dark::before { content: ''; position: absolute; inset: 0; background: url('img/chamspace-logo.svg') center/40% no-repeat; opacity: 0.03; pointer-events: none; }

/* Visual side (60%) */
.home-v1-svc-card-visual { flex: 0 0 60%; position: relative; overflow: hidden; padding: 16px; }
.home-v1-svc-card-visual img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 12px; }

/* Info side (40%) */
.home-v1-svc-card-info { flex: 1; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }

.home-v1-svc-card-tag { 
    display: inline-flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #E20612; 
    background: rgba(226,6,18,0.18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(226,6,18,0.20); padding: 5px 12px; border-radius: 4px; margin-bottom: 16px; width: fit-content;
}
.home-v1-svc-card-tag::before { content: ''; width: 18px; height: 2px; background: #E20612; }

.home-v1-svc-card h3 { font-size: clamp(18px, 2.5vw, 28px); font-weight: 800; color: #1a1a1a; margin: 0 0 12px; line-height: 1.15; letter-spacing: -0.02em; }
.home-v1-svc-card--dark h3 { color: #fff; }

.home-v1-svc-card-desc { font-size: 14px; color: #666; line-height: 1.7; margin: 0 0 24px; max-width: 400px; }
.home-v1-svc-card--dark .home-v1-svc-card-desc { color: rgba(255,255,255,0.5); }

.home-v1-svc-card-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; max-width: 440px; }
.home-v1-svc-card-list li { font-size: 13px; color: #555; display: flex; align-items: center; gap: 8px; font-weight: 500; }
.home-v1-svc-card--dark .home-v1-svc-card-list li { color: rgba(255,255,255,0.45); }
.home-v1-svc-card-list li::before { content: ''; width: 5px; height: 5px; background: #E20612; flex-shrink: 0; transform: rotate(45deg); }

.home-v1-svc-card-link { 
    display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: #1a1a1a; text-decoration: none; text-transform: uppercase; letter-spacing: 0.06em; padding-bottom: 4px; border-bottom: 2px solid #e0e0e0; transition: color 0.2s, border-color 0.2s; width: fit-content;
}
.home-v1-svc-card--dark .home-v1-svc-card-link { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.12); }
.home-v1-svc-card-link:hover { color: #E20612; border-color: #E20612; }

/* Responsive services */
@media (max-width: 1024px) {
    .home-v1-svc-card { min-height: 320px; }
    .home-v1-svc-card-info { padding: 32px; }
    .home-v1-svc-card-list { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 768px) {
    .home-v1-svc-header { margin-bottom: 32px; }
    .home-v1-svc-kicker-line { min-width: 100px; }
    /* (4) Cards: 16px padding đều 4 góc, bo góc */
    .home-v1-svc-cards { gap: 16px; }
    .home-v1-svc-card { flex-direction: column; height: auto; border-radius: 20px; overflow: hidden; padding: 16px; gap: 16px; }
    .home-v1-svc-card-visual { flex: 0 0 240px; width: 100%; padding: 0; }
    .home-v1-svc-card-visual img { border-radius: 16px; aspect-ratio: 1.5; }
    .home-v1-svc-card--reverse { flex-direction: column; }
    .home-v1-svc-card--reverse .home-v1-svc-card-visual { padding: 0; }
    .home-v1-svc-card-info { padding: 0; }
    .home-v1-svc-card-tag { margin-bottom: 12px; }
    .home-v1-svc-card-list { grid-template-columns: 1fr 1fr; }
    .home-v1-svc-header h2 { font-size: clamp(22px, 6vw, 36px); }
}

@media (max-width: 520px) {
    .home-v1-svc-card-visual { flex: 0 0 220px; }
    .home-v1-svc-card-list { grid-template-columns: 1fr; }
    .home-v1-svc-card h3 { font-size: 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   4. DỰ ÁN TIÊU BIỂU
   ═══════════════════════════════════════════════════════════════ */
.home-v1-feat-sec { padding: 30px 0; }

.home-v1-feat-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.home-v1-feat-header h2 {
    font-size: clamp(26px, 5vw, 52px);
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin: 0;
    line-height: 1.05;
}

.home-v1-feat-link { font-size: 13px; font-weight: 600; color: #666; text-decoration: none; text-transform: uppercase; letter-spacing: 0.06em; align-self: flex-end; padding-bottom: 6px; }

.home-v1-feat-grid { display: flex; flex-direction: column; gap: 16px; }

.home-v1-feat-card { display: block; text-decoration: none; color: inherit; border-radius: 12px; overflow: hidden; height: 45vh; position: relative; transition: transform 0.35s cubic-bezier(0.2,0.36,0.12,1); }
.home-v1-feat-card:hover { transform: translateY(-3px); }
.home-v1-feat-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s cubic-bezier(0.2,0.36,0.12,1); }
.home-v1-feat-card:hover img { transform: scale(1.04); }

.home-v1-feat-card-glass { position: absolute; inset: 0; z-index: 1; }
.home-v1-feat-card--left .home-v1-feat-card-glass { background: linear-gradient(to right, rgba(0,0,0,0.52) 0%, rgba(0,0,0,0.04) 65%, rgba(0,0,0,0.12) 100%); }
.home-v1-feat-card--right .home-v1-feat-card-glass { background: linear-gradient(to left, rgba(0,0,0,0.52) 0%, rgba(0,0,0,0.04) 65%, rgba(0,0,0,0.12) 100%); }

.home-v1-feat-card-content { position: absolute; bottom: 0; z-index: 2; padding: 24px 28px; max-width: 80%; }
.home-v1-feat-card--left .home-v1-feat-card-content { left: 0; text-align: left; }
.home-v1-feat-card--right .home-v1-feat-card-content { right: 0; text-align: right; }

.home-v1-feat-card-badge { display: inline-block; background: rgba(226,6,18,0.18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(226,6,18,0.20); color: #E20612; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; padding: 5px 14px; border-radius: 4px; margin-bottom: 8px; }
.home-v1-feat-card-content h3 { font-size: clamp(16px, 2.2vw, 22px); font-weight: 800; color: #fff; margin: 0 0 4px; line-height: 1.12; }
.home-v1-feat-card-meta { font-size: 10px; color: rgba(255,255,255,0.48); text-transform: uppercase; letter-spacing: 0.06em; }

/* Featured responsive */
@media (max-width: 1024px) {
    .home-v1-feat-card { height: clamp(220px, 30vh, 320px); }
    .home-v1-feat-card-content { max-width: 70%; }
}

@media (max-width: 768px) {
    .home-v1-feat-card { height: clamp(180px, 26vh, 260px); border-radius: 10px; }
    .home-v1-feat-card-content { max-width: 70%; padding: 18px 20px; }
    .home-v1-feat-card-content h3 { font-size: 14px; }
    .home-v1-feat-card-badge { font-size: 9px; padding: 4px 10px; }
    .home-v1-eyebrow-line { min-width: 100px; }
}

@media (max-width: 520px) {
    .home-v1-feat-card { height: clamp(160px, 22vh, 200px); }
    .home-v1-feat-card-content { max-width: 80%; padding: 14px 16px; }
    .home-v1-feat-header h2 { font-size: clamp(20px, 6vw, 28px); }
}

/* ═══════════════════════════════════════════
   QUY TRÌNH TRIỂN KHAI (Accordion 5 bước)
   ═══════════════════════════════════════════ */
.home-v1-proc-header { margin-bottom: 32px; }
.home-v1-proc-header h2 {
    font-size: clamp(26px, 5vw, 52px);
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin: 0;
    line-height: 1.05;
}

.home-v1-proc-wrap {
    display: flex;
    gap: 6px;
    height: 60vh;
    border-radius: 16px;
    overflow: hidden;
}

.home-v1-proc-step {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
    transition: flex 0.55s cubic-bezier(0.2,0.36,0.12,1);
    cursor: pointer;
    min-width: 70px;
}
.home-v1-proc-step:hover { flex: 3.2; }
.home-v1-proc-step--active { flex: 3.2; }
.home-v1-proc-wrap:hover .home-v1-proc-step--active:not(:hover) { flex: 1; }

/* Số thứ tự — to hơn 1.3x so với svc-v3 */
.home-v1-proc-step-num {
    position: absolute;
    top: 24px;
    left: 26px;
    font-size: 47px;
    font-weight: 800;
    color: rgba(255,255,255,0.18);
    z-index: 2;
    pointer-events: none;
    transition: color 0.4s;
}
.home-v1-proc-step--active .home-v1-proc-step-num,
.home-v1-proc-step:hover .home-v1-proc-step-num { color: rgba(255,255,255,0.30); }
.home-v1-proc-wrap:hover .home-v1-proc-step--active:not(:hover) .home-v1-proc-step-num { color: rgba(255,255,255,0.18); }

.home-v1-proc-step-img {
    position: absolute;
    inset: 0;
    object-fit: cover;
    opacity: 0.58;
    filter: grayscale(10%);
    transition: opacity 0.6s, transform 0.8s cubic-bezier(0.2,0.36,0.12,1), filter 0.6s;
}
.home-v1-proc-step--active .home-v1-proc-step-img,
.home-v1-proc-step:hover .home-v1-proc-step-img { opacity: 0.88; transform: scale(1.04); filter: grayscale(0%); }
.home-v1-proc-wrap:hover .home-v1-proc-step--active:not(:hover) .home-v1-proc-step-img { opacity: 0.58; transform: scale(1); filter: grayscale(10%); }

.home-v1-proc-step-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.48) 0%, rgba(0,0,0,0.06) 100%);
    transition: background 0.5s;
}
.home-v1-proc-step--active .home-v1-proc-step-veil,
.home-v1-proc-step:hover .home-v1-proc-step-veil { background: linear-gradient(to top, rgba(0,0,0,0.36) 0%, rgba(0,0,0,0.02) 100%); }
.home-v1-proc-wrap:hover .home-v1-proc-step--active:not(:hover) .home-v1-proc-step-veil { background: linear-gradient(to top, rgba(0,0,0,0.48) 0%, rgba(0,0,0,0.06) 100%); }

.home-v1-proc-step-body {
    position: absolute;
    bottom: 24px;
    left: 26px;
    right: 26px;
    z-index: 3;
}

.home-v1-proc-step-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #E20612;
    background: rgba(226,6,18,0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226,6,18,0.20);
    padding: 4px 12px;
    border-radius: 4px;
    transition: margin 0.4s;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}
.home-v1-proc-step--active .home-v1-proc-step-label,
.home-v1-proc-step:hover .home-v1-proc-step-label { margin-bottom: 8px; }
.home-v1-proc-wrap:hover .home-v1-proc-step--active:not(:hover) .home-v1-proc-step-label { margin-bottom: 0; }

/* Tiêu đề bước — to hơn 1.2x (14px × 1.2 = 17px → clamp) */
.home-v1-proc-step-body h4 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    transition: font-size 0.4s;
}
.home-v1-proc-step--active .home-v1-proc-step-body h4,
.home-v1-proc-step:hover .home-v1-proc-step-body h4 { font-size: 24px; }
.home-v1-proc-wrap:hover .home-v1-proc-step--active:not(:hover) .home-v1-proc-step-body h4 { font-size: 17px; }

.home-v1-proc-step-body p {
    font-size: 0;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
    transition: font-size 0.4s, opacity 0.4s;
    opacity: 0;
    max-width: 300px;
    margin: 0;
}
.home-v1-proc-step--active .home-v1-proc-step-body p,
.home-v1-proc-step:hover .home-v1-proc-step-body p { font-size: 12px; opacity: 1; }
.home-v1-proc-wrap:hover .home-v1-proc-step--active:not(:hover) .home-v1-proc-step-body p { font-size: 0; opacity: 0; }

.home-v1-proc-step-rule {
    width: 18px;
    height: 2px;
    background: rgba(255,255,255,0.25);
    margin-top: 10px;
    transition: width 0.5s, background 0.4s;
}
.home-v1-proc-step--active .home-v1-proc-step-rule,
.home-v1-proc-step:hover .home-v1-proc-step-rule { width: 44px; background: #E20612; }
.home-v1-proc-wrap:hover .home-v1-proc-step--active:not(:hover) .home-v1-proc-step-rule { width: 18px; background: rgba(255,255,255,0.25); }

/* Process responsive */
@media (max-width: 1024px) {
    .home-v1-proc-wrap { height: clamp(340px, 50vh, 420px); }
}
@media (max-width: 768px) {
    .home-v1-proc-wrap {
        flex-direction: column;
        height: auto;
        gap: 6px;
    }
    /* (5) Active: square 1:1. Inactive: half-height 1:2 */
    .home-v1-proc-step {
        flex: none !important;
        width: 100%;
        aspect-ratio: 2 / 1;
        min-height: 0;
    }
    .home-v1-proc-step--active,
    .home-v1-proc-step:focus-within {
        aspect-ratio: 1 / 1;
    }
    .home-v1-proc-step-body p { font-size: 12px; opacity: 1; }
    .home-v1-proc-wrap:hover .home-v1-proc-step--active:not(:hover) {
        aspect-ratio: 2 / 1;
    }
    .home-v1-proc-wrap:hover .home-v1-proc-step--active:not(:hover) .home-v1-proc-step-body p { font-size: 0; opacity: 0; }
    .home-v1-proc-step-num { font-size: 32px; }
    .home-v1-proc-step-body h4 { font-size: 14px; }
    .home-v1-proc-step--active .home-v1-proc-step-body h4,
    .home-v1-proc-step:hover .home-v1-proc-step-body h4 { font-size: 18px; }
}

/* ============================================
   TẠI SAO CHAMSPACE — USP Section
   ============================================ */

.home-v1-usp-sec {
    padding: 30px 0;
}

.home-v1-usp-header {
    margin-bottom: 24px;
}

.home-v1-usp-header h2 {
    font-size: clamp(26px, 5vw, 52px);
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin: 0;
    line-height: 1.05;
}

/* USP Grid */
.home-v1-usp {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.home-v1-usp-row {
    display: grid;
    gap: 16px;
    height: clamp(240px, 28vh, 320px);
}

.home-v1-usp-row:last-child {
    margin-bottom: 0;
}

.home-v1-usp-row--top {
    grid-template-columns: 70fr 30fr;
}

.home-v1-usp-row--bot {
    grid-template-columns: 30fr 70fr;
}

/* USP Image Block */
.home-v1-usp-img {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
}

.home-v1-usp-img-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.50) 0%, rgba(0,0,0,0.05) 100%);
    border-radius: 14px;
}

.home-v1-usp-img-copy {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 28px;
    z-index: 2;
}

.home-v1-usp-img-copy h4 {
    font-size: clamp(15px, 2vw, 22px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.15;
}

.home-v1-usp-img-copy p {
    font-size: 12px;
    color: rgba(255,255,255,0.60);
    line-height: 1.6;
    max-width: 360px;
    margin: 0;
}

/* USP Card */
.home-v1-usp-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: clamp(20px, 3vw, 32px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.home-v1-usp-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.home-v1-usp-card-icon {
    font-size: 22px;
    margin-bottom: 10px;
}

.home-v1-usp-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 5px;
    line-height: 1.25;
}

.home-v1-usp-card p {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* USP Responsive */
@media (max-width: 1024px) {
    .home-v1-usp-row {
        height: auto;
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    /* (6) Image + text alternating on mobile */
    .home-v1-usp-row {
        grid-template-columns: 1fr !important;
        height: auto;
        gap: 12px;
    }
    .home-v1-usp-row:nth-child(odd) { display: flex; flex-direction: column; }
    .home-v1-usp-row:nth-child(even) { display: flex; flex-direction: column-reverse; }
    .home-v1-usp-img {
        min-height: 200px;
    }
}

@media (max-width: 520px) {
    .home-v1-usp-img-copy {
        padding: 18px 16px;
    }
    .home-v1-usp-card {
        padding: 20px 16px;
    }
}

/* ============================================
   CTA + TƯ VẤN NGAY
   ============================================ */

.home-v1-cta-sec {
    padding: 30px 0 0;
}

.home-v1-cta-consult-block {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ── Banner Sẵn Sàng ── */
.home-v1-cta {
    background: #0d0d0d;
    border-radius: 20px;
    padding: clamp(44px, 7vw, 64px) clamp(28px, 5vw, 52px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-v1-cta::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(226,6,18,0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.home-v1-cta h2 {
    font-size: clamp(34px, 6vw, 62px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.06;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.home-v1-cta p {
    font-size: 14px;
    color: rgba(255,255,255,0.28);
    max-width: 420px;
    margin: 0 auto 32px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.home-v1-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.home-v1-cta-btn {
    display: inline-flex;
    align-items: center;
    background: rgba(226,6,18,0.16);
    color: #E20612;
    border: 1px solid rgba(226,6,18,0.18);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 13px 36px;
    border-radius: 4px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.home-v1-cta-btn:hover {
    background: rgba(226,6,18,0.24);
    border-color: rgba(226,6,18,0.3);
}

.home-v1-cta-tel {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 15px;
    font-weight: 700;
    color: rgba(255,255,255,0.40);
    text-decoration: none;
    transition: color 0.25s;
}

.home-v1-cta-tel:hover {
    color: #fff;
}

.home-v1-cta-tel svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
}

/* ── Ô Tư Vấn Ngay ── */
.home-v1-consult {
    position: relative;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
}

/* ── 3-Cột Grid ── */
.home-v1-consult-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.home-v1-consult-col {
    padding: clamp(36px, 5vw, 52px) clamp(28px, 4vw, 40px);
    display: flex;
    flex-direction: column;
}

.home-v1-consult-col:not(.home-v1-consult-col--text) {
    border-right: 1px solid rgba(0,0,0,0.06);
}

/* ── Split wrapper (columns 2-3) ── */
.home-v1-consult-col--split {
    grid-column: 2 / 4;
    padding: 0;
    display: flex;
}

.home-v1-consult-col--split .wpcf7 {
    width: 100%;
    display: flex;
}

.home-v1-consult-col--split .cham-cf7-form {
    display: flex;
    width: 100%;
}

.home-v1-consult-col--fields,
.home-v1-consult-col--message {
    padding: clamp(36px, 5vw, 52px) clamp(28px, 4vw, 40px);
    display: flex;
    flex-direction: column;
}

.home-v1-consult-col--fields {
    flex: 1;
    gap: 14px;
    border-right: 1px solid rgba(0,0,0,0.06);
}

.home-v1-consult-col--message {
    flex: 1;
    gap: 14px;
}

/* ── Cột 1: Text ── */
.home-v1-consult-col--text {
    justify-content: center;
    background: #fafaf9;
}

.home-v1-consult-eyebrow {
    font-size: 10px;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}

.home-v1-consult-col--text h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    margin: 0 0 28px;
    line-height: 0.95;
}

.home-v1-consult-text-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-v1-consult-intro {
    font-size: 13.5px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.home-v1-consult-detail {
    font-size: 12.5px;
    color: #777;
    line-height: 1.75;
    margin: 0;
}

.home-v1-consult-commit {
    font-size: 12.5px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.6;
    margin: 0;
    padding-top: 8px;
}

.home-v1-consult-commit::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: #E20612;
    margin-bottom: 12px;
    border-radius: 1px;
}

/* ── Cột 2: Fields ── */
.home-v1-consult-col--fields {
    gap: 14px;
    justify-content: flex-start;
}

/* ── Cột 3: Message + Submit ── */
.home-v1-consult-col--message {
    gap: 14px;
}

.home-v1-consult-col--message .form-row--message {
    flex: 1;
}

/* ── Form Elements (clean Chamspace style) ── */
.home-v1-consult .form-row {
    margin: 0;
}

.home-v1-consult .form-row p {
    margin: 0;
}

.home-v1-consult label,
.home-v1-consult .form-row label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    transition: color 0.2s;
}

.home-v1-consult .form-row:focus-within label {
    color: #1a1a1a;
}

.home-v1-consult input[type="text"],
.home-v1-consult input[type="tel"],
.home-v1-consult input[type="email"],
.home-v1-consult select {
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-bottom: 1.5px solid rgba(0,0,0,0.10);
    border-radius: 0;
    background: transparent;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    color: #1a1a1a;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.25s ease;
}

.home-v1-consult input::placeholder {
    color: #ccc;
    font-weight: 400;
}

.home-v1-consult input:hover,
.home-v1-consult select:hover {
    border-bottom-color: rgba(0,0,0,0.20);
}

.home-v1-consult input:focus,
.home-v1-consult select:focus {
    border-bottom-color: #1a1a1a;
}

.home-v1-consult select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 24px;
}

.home-v1-consult textarea {
    width: 100%;
    height: 100%;
    min-height: 140px;
    padding: 14px;
    border: 1.5px solid rgba(0,0,0,0.10);
    border-radius: 8px;
    background: rgba(250,248,246,0.5);
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    color: #1a1a1a;
    outline: none;
    box-sizing: border-box;
    resize: none;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.home-v1-consult textarea:hover {
    border-color: rgba(0,0,0,0.16);
}

.home-v1-consult textarea:focus {
    border-color: #1a1a1a;
    background: #fff;
}

.home-v1-consult textarea::placeholder {
    color: #ccc;
    font-weight: 400;
}

.home-v1-consult input[type="submit"],
.home-v1-consult .wpcf7-submit {
    width: 100%;
    padding: 15px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.2,0.36,0.12,1);
    position: relative;
    overflow: hidden;
}

.home-v1-consult input[type="submit"]::before,
.home-v1-consult .wpcf7-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #E20612 0%, #c40510 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.home-v1-consult input[type="submit"]:hover::before,
.home-v1-consult .wpcf7-submit:hover::before {
    opacity: 1;
}

.home-v1-consult input[type="submit"]:hover,
.home-v1-consult .wpcf7-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(226,6,18,0.22);
}

.home-v1-consult input[type="submit"] span,
.home-v1-consult .wpcf7-submit span {
    position: relative;
    z-index: 1;
}

/* ═══ home-v1-cf7-3col form container ═══ */
.home-v1-cf7-3col {
    width: 100%;
    display: flex;
}
.cham-cf7-split-done {
    display: flex !important;
}
/* Form columns nằm trong split wrapper — cách mép 16px */
.home-v1-cf7-3col > .home-v1-consult-col--fields,
.home-v1-cf7-3col > .home-v1-consult-col--message {
    padding: clamp(20px, 2vw, 28px) clamp(16px, 2vw, 24px);
}
/* Reset border-right vì đã có .home-v1-consult-col--fields riêng */
@media (max-width: 1024px) {
    .home-v1-cf7-3col {
        flex-wrap: wrap;
    }
    .home-v1-cf7-3col > .home-v1-consult-col--fields,
    .home-v1-cf7-3col > .home-v1-consult-col--message {
        min-width: 100%;
    }
    .home-v1-consult-col--fields {
        border-right: none !important;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }
}



/* ── Responsive ── */
@media (max-width: 1024px) {
    .home-v1-consult-inner {
        grid-template-columns: 1fr 1fr;
    }
    .home-v1-consult-col--text {
        grid-column: 1 / -1;
        border-right: none !important;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        padding: 36px 32px;
    }
    .home-v1-consult-col--text h2 {
        font-size: clamp(26px, 5vw, 38px);
    }
    .home-v1-consult-col--split {
        grid-column: 1 / -1;
    }
    .home-v1-consult-col--message {
        border-right: none !important;
    }
    .home-v1-cta {
        padding: clamp(32px, 5vw, 48px) clamp(20px, 3vw, 36px);
    }
    .home-v1-cta h2 {
        font-size: clamp(22px, 4vw, 36px);
    }
}

@media (max-width: 768px) {
    .home-v1-consult-inner {
        grid-template-columns: 1fr;
    }
    .home-v1-consult-col--text {
        grid-column: 1;
        padding: 32px 24px;
    }
    .home-v1-consult-col--split {
        grid-column: 1;
    }
    .home-v1-consult-col--split .cham-cf7-form {
        flex-direction: column;
    }
    .home-v1-consult-col--fields {
        border-right: none !important;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        padding-bottom: 28px;
    }
    .home-v1-consult-col--fields,
    .home-v1-consult-col--message {
        padding: 28px 24px;
    }
    .home-v1-consult textarea {
        min-height: 100px;
    }
    .home-v1-cta-actions {
        flex-direction: column;
        gap: 14px;
        align-items: center;
    }
    .home-v1-cta-btn,
    .home-v1-cta-tel {
        width: auto;
        min-width: 220px;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .home-v1-cta-sec {
        padding: 28px 0;
    }
    .home-v1-cta {
        padding: 28px 18px;
        border-radius: 14px;
    }
    .home-v1-cta h2 {
        font-size: 20px;
    }
    .home-v1-cta p {
        font-size: 12px;
        margin-bottom: 20px;
    }
    .home-v1-cta-btn {
        font-size: 11px;
        padding: 11px 24px;
    }
    .home-v1-cta-tel {
        font-size: 13px;
    }
    .home-v1-consult {
        border-radius: 14px;
    }
    .home-v1-consult-col--text {
        padding: 24px 16px;
    }
    .home-v1-consult-col--text h2 {
        font-size: 22px;
        margin-bottom: 18px;
    }
    .home-v1-consult-intro {
        font-size: 12px;
    }
    .home-v1-consult-detail {
        font-size: 11px;
    }
    .home-v1-consult-commit {
        font-size: 11px;
    }
    .home-v1-consult-col--fields,
    .home-v1-consult-col--message {
        padding: 20px 16px;
    }
    .home-v1-consult input[type="text"],
    .home-v1-consult input[type="tel"],
    .home-v1-consult input[type="email"],
    .home-v1-consult select {
        font-size: 13px;
        padding: 10px 8px;
    }
    .home-v1-consult label {
        font-size: 9px;
    }
    .home-v1-consult input[type="submit"],
    .home-v1-consult .wpcf7-submit {
        font-size: 11px;
        padding: 13px;
    }
}
# Thêm vào cuối chamspace-home.css
/* ═══ Tư vấn ngay — section mới ═══ */
.tv3-consult {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

.tv3-consult-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.tv3-col {
    padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 36px);
    display: flex;
    flex-direction: column;
}

/* Cột 1: Text */
.tv3-col--text {
    justify-content: center;
    background: #fafaf9;
    gap: 3px;
}

.tv3-title {
    font-size: clamp(26px, 5vw, 52px);
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin: 0 0 -4px;
    line-height: 1.05;
}

.tv3-line {
    width: 28px;
    height: 2.5px;
    background: #E20612;
    border-radius: 2px;
    margin: 12px 0 16px;
}

.tv3-text-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tv3-intro {
    font-size: 12.5px;
    color: #888;
    line-height: 1.7;
    margin: 0;
}

.tv3-trust {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 500;
    color: #666;
}

.tv3-dot {
    width: 5px;
    height: 5px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
}

.tv3-trust strong {
    color: #1a1a1a;
}

/* Cột 2+3: Form */
.tv3-col--form {
    grid-column: 2 / 4;
    padding: clamp(28px, 3vw, 40px) clamp(24px, 3vw, 36px);
    display: flex;
    flex-direction: column;
}

.tv3-cf7 {
    width: 100%;
    display: flex;
    gap: 16px;
}

.tv3-cf7-fields {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tv3-cf7-message {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tv3-cf7 .form-row {
    margin: 0;
}
.tv3-cf7 .form-row p {
    margin: 0;
}

.tv3-cf7 label,
.tv3-cf7 .form-row label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 5px;
    transition: color 0.2s;
}
.tv3-cf7 .form-row:focus-within label {
    color: #1a1a1a;
}

.tv3-cf7 input[type="text"],
.tv3-cf7 input[type="tel"],
.tv3-cf7 input[type="email"],
.tv3-cf7 select {
    width: 100%;
    padding: 11px 14px;
    border: none;
    border-bottom: 1.5px solid rgba(0,0,0,0.08);
    border-radius: 0;
    background: transparent;
    font-size: 13px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    color: #1a1a1a;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.25s;
}

.tv3-cf7 input:focus,
.tv3-cf7 select:focus {
    border-bottom-color: #1a1a1a;
}

.tv3-cf7 select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 24px;
}

.tv3-cf7 textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px 14px;
    border: 1.5px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    background: rgba(250,248,246,0.4);
    font-size: 13px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    color: #1a1a1a;
    outline: none;
    box-sizing: border-box;
    resize: none;
    transition: border-color 0.25s, background 0.25s;
}

.tv3-cf7 textarea:focus {
    border-color: #1a1a1a;
    background: #fff;
}

.tv3-cf7 input[type="submit"],
.tv3-cf7 .wpcf7-submit {
    width: 100%;
    padding: 14px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s;
}

.tv3-cf7 input[type="submit"]:hover,
.tv3-cf7 .wpcf7-submit:hover {
    background: #E20612;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(226,6,18,0.16);
}

.tv3-cf7 .wpcf7-response-output {
    color: #555 !important;
    border-color: rgba(0,0,0,0.08) !important;
    font-size: 11px !important;
    border-radius: 6px !important;
    background: rgba(0,0,0,0.02) !important;
    margin: 8px 0 0 !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .tv3-consult-inner {
        grid-template-columns: 1fr 1fr;
    }
    .tv3-col--text {
        grid-column: 1 / -1;
        padding: 28px 24px;
    }
    .tv3-col--form {
        grid-column: 1 / -1;
    }
    .tv3-cf7 {
        flex-wrap: wrap;
    }
    .tv3-cf7-fields {
        min-width: 100%;
    }
    .tv3-cf7-message {
        min-width: 100%;
    }
}
@media (max-width: 768px) {
    .tv3-consult-inner {
        grid-template-columns: 1fr;
    }
    .tv3-col--text {
        grid-column: 1;
        padding: 24px 20px;
    }
    .tv3-col--form {
        grid-column: 1;
        padding: 24px 20px;
    }
    .tv3-cf7 {
        flex-direction: column;
    }
    .tv3-cf7 textarea {
        min-height: 100px;
    }
}
@media (max-width: 520px) {
    .tv3-col--text {
        padding: 20px 16px;
    }
    .tv3-title {
        font-size: 20px;
    }
    .tv3-intro {
        font-size: 11px;
    }
    .tv3-col--form {
        padding: 16px 14px;
    }
    .tv3-cf7 input[type="submit"],
    .tv3-cf7 .wpcf7-submit {
        font-size: 10px;
        padding: 12px;
    }
}

/* ═══ Divider giữa Sẵn sàng và Tư vấn ngay ═══ */
.home-v1-cta-divider {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #E20612;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 0 0 8px rgba(226,6,18,0.18), 0 8px 32px rgba(226,6,18,0.25);
    transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
    position: relative;
    z-index: 2;
}
.home-v1-cta-divider:hover {
    transform: scale(1.15) rotate(45deg);
}
.home-v1-cta-divider::after {
    content: '';
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 5v14M5 12l7 7 7-7' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ═══ Quy trình chi tiết — 2 ô cẩm nang trong process section ═══ */
.home-v1-proc-sec .cam-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0 0;
}
.home-v1-proc-sec .cam-card {
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e5e5;
    transition: box-shadow .2s, transform .2s;
    display: block;
}
.home-v1-proc-sec .cam-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transform: translateY(-2px);
}
.home-v1-proc-sec .cam-card-in {
    padding: 20px 22px 24px;
}
.home-v1-proc-sec .cam-card-in h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.4;
}
.home-v1-proc-sec .cam-card-in p {
    font-size: 13px;
    color: #666;
    margin: 0 0 12px;
    line-height: 1.6;
}
.home-v1-proc-sec .cam-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #E20612;
}
.home-v1-proc-sec .cam-cta svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .home-v1-proc-sec .cam-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══ 4 ô Danh mục công trình (dưới Dịch vụ) ═══ */
.home-v1-svc-sec .cam-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 32px 0 0;
}
.home-v1-svc-sec .cam-card {
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e5e5;
    transition: box-shadow .2s, transform .2s;
    display: block;
}
.home-v1-svc-sec .cam-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transform: translateY(-2px);
}
.home-v1-svc-sec .cam-card-in {
    padding: 20px 22px 24px;
}
.home-v1-svc-sec .cam-card-in h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.4;
}
.home-v1-svc-sec .cam-card-in p {
    font-size: 13px;
    color: #666;
    margin: 0 0 12px;
    line-height: 1.6;
}
.home-v1-svc-sec .cam-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #E20612;
}
.home-v1-svc-sec .cam-cta svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .home-v1-svc-sec .cam-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .home-v1-svc-sec .cam-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══ Đội ngũ Chamspace — nền trắng ═══ */
.home-v1-team-sec {
    padding: 50px 0 50px;
    background: #fff;
    border-radius: 20px;
    margin: 0 0 16px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}
.cs-v3-team {
    padding: 30px 0 !important;
}
.home-v1-team-sec > .elementor-section,
#chamspace-content .home-v1-team-sec > .elementor-section {
    padding: 0 !important;
}

.home-v1-team-body {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.home-v1-team-image {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/7;
    background: #eee;
}
.home-v1-team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-v1-team-roles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.home-v1-team-role {
    background: #fafaf9;
    border-radius: 12px;
    padding: 20px 22px;
    border: 1px solid #e5e5e5;
    transition: box-shadow .2s, transform .2s;
}
.home-v1-team-role:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transform: translateY(-2px);
}
.home-v1-team-role h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px;
}
.home-v1-team-role p {
    font-size: 13px;
    color: #888;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .home-v1-team-roles {
        grid-template-columns: 1fr;
    }
    .home-v1-team-image {
        aspect-ratio: 4/3;
    }
}

/* ═══ Home Team — card trắng (copy từ v3, đổi nền đen → trắng) ═══ */
.cs-v3-team-card--white {
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 2px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
}
.cs-v3-team-card--white blockquote {
    color: #666;
}
.cs-v3-team-card--white cite {
    color: #aaa;
}
.cs-v3-team-card--white .cs-v3-team-roles {
    border-top-color: rgba(0,0,0,0.06);
}
.cs-v3-team-card--white .cs-v3-team-role h5 {
    color: #1a1a1a;
}
.cs-v3-team-card--white .cs-v3-team-role p {
    color: #888;
}

/* ═══════════════════════════════════════════
   SECTION CONTACT CF7 — Kết nối tư vấn
   ═══════════════════════════════════════════ */

.home-contact-wrap {
    padding: 16px 0 0;
    position: relative;
    z-index: 3;
}
.home-contact-body {
    display: grid;
    grid-template-columns: 1fr 2fr;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(226,6,18,0.18);
    overflow: hidden;
}

/* ── Cột trái: nền trắng (giống menu) ── */
.home-contact-left {
    padding: 40px 32px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.home-contact-left-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}
.home-contact-star { color: #E20612; font-size: 14px; }
.home-contact-left h2 {
    font-size: clamp(18px, 2.4vw, 26px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
    line-height: 1.35;
}
.home-contact-left > p {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin: 0 0 18px;
}
.home-contact-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}
.home-contact-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 600;
    color: #555;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 50px;
}
.home-contact-tag::before {
    content: '✦';
    font-size: 8px;
    color: #E20612;
}

/* ── Cột phải: Card đen, bo 4 góc ── */
.home-contact-right {
    background: #212121;
    border-radius: 20px;
    padding: 24px 36px;
    display: flex;
    flex-direction: column;
    margin: 8px;
}
.home-contact-right-header {
    margin-bottom: 10px;
}
.home-contact-right-header span {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

/* CF7 form: 2 cột */
.home-contact-right .wpcf7 form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
}

/* Labels & inputs */
.home-contact-right .wpcf7 .form-row p { margin: 0; }
.home-contact-right .wpcf7 label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.45);
    margin-bottom: 4px;
}
.home-contact-right .wpcf7 input[type="text"],
.home-contact-right .wpcf7 input[type="tel"],
.home-contact-right .wpcf7 input[type="email"],
.home-contact-right .wpcf7 select,
.home-contact-right .wpcf7 textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    font-family: inherit;
    color: #fff;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s, background .2s;
}
.home-contact-right .wpcf7 input:focus,
.home-contact-right .wpcf7 select:focus,
.home-contact-right .wpcf7 textarea:focus {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.1);
}
.home-contact-right .wpcf7 select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.35)' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 32px;
    cursor: pointer;
}
.home-contact-right .wpcf7 select option { background: #2a2a2a; color: #fff; }
.home-contact-right .wpcf7 textarea { min-height: 80px; resize: vertical; }

/* Submit button */
.home-contact-right .wpcf7-submit {
    width: 100%;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1a1a1a;
    background: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background .2s;
    margin: 0;
}
.home-contact-right .wpcf7-submit:hover { background: #e8e8e8; }
.home-contact-right .wpcf7-submit::after { content: '→'; font-size: 15px; }

/* Response messages */
.home-contact-right .wpcf7-response-output {
    grid-column: 1 / -1;
    margin: 0;
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}
.home-contact-right .wpcf7 form.sent .wpcf7-response-output { border-color: rgba(76,175,80,0.3); color: #4CAF50; }
.home-contact-right .wpcf7 form.invalid .wpcf7-response-output { border-color: rgba(226,6,18,0.3); color: #E20612; }
.home-contact-right .wpcf7-not-valid-tip { display: none; }
.home-contact-right .wpcf7 .wpcf7-not-valid { border-color: rgba(226,6,18,0.4) !important; }
.home-contact-right .wpcf7-spinner { display: none; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .home-contact-body { grid-template-columns: 1fr; border-radius: 16px; }
    .home-contact-left { padding: 24px 20px; }
    .home-contact-right { padding: 24px 20px; margin: 0; border-radius: 0 0 16px 16px; }
    .home-contact-right .wpcf7 form { grid-template-columns: 1fr; }
}



/* ======================================= */
/*   HERO POPUP — Tư vấn                   */
/* ======================================= */
.hero-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
    opacity: 0;
    transition: background 0.35s ease, opacity 0.35s ease;
}
.hero-popup-overlay--open {
    background: rgba(0,0,0,0.65);
    pointer-events: auto;
    opacity: 1;
}
.hero-popup {
    background: #fff;
    border-radius: 20px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 28px 24px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    transform: translateY(20px);
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero-popup-overlay--open .hero-popup {
    transform: translateY(0);
}
.hero-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}
.hero-popup-close:hover {
    color: #1a1a1a;
    background: #f0f0f0;
}
.hero-popup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #e20612;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}
.hero-popup-star { font-size: 16px; }
.hero-popup-sub {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px;
    line-height: 1.5;
}
.hero-popup-form {
    /* Form styles inherit from CF7 */
}
.hero-popup-form .wpcf7 {
    background: #f8f8f8;
    border-radius: 14px;
    padding: 20px;
}
.hero-popup-form .wpcf7-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.hero-popup-form .wpcf7-form p {
    margin: 0;
}
.hero-popup-form .wpcf7-form-control-wrap {
    display: block;
}
.hero-popup-form .wpcf7 input[type="text"],
.hero-popup-form .wpcf7 input[type="email"],
.hero-popup-form .wpcf7 input[type="tel"],
.hero-popup-form .wpcf7 select,
.hero-popup-form .wpcf7 textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    box-sizing: border-box;
    transition: border 0.2s;
}
.hero-popup-form .wpcf7 input:focus,
.hero-popup-form .wpcf7 select:focus,
.hero-popup-form .wpcf7 textarea:focus {
    border-color: #e20612;
    outline: none;
}
.hero-popup-form .wpcf7 textarea {
    min-height: 80px;
    resize: vertical;
}
.hero-popup-form .wpcf7 .full-width {
    grid-column: 1 / -1;
}
.hero-popup-form .wpcf7-submit {
    grid-column: 1 / -1;
}
.hero-popup-form .wpcf7 input[type="submit"] {
    width: 100%;
    padding: 13px;
    background: #e20612;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.hero-popup-form .wpcf7 input[type="submit"]:hover {
    background: #c40510;
    transform: translateY(-1px);
}
.hero-popup-form .wpcf7 input[type="submit"]:active {
    transform: translateY(0);
}

@media (max-width: 600px) {
    .hero-popup {
        padding: 24px 18px 20px;
        max-height: 85vh;
    }
    .hero-popup-form .wpcf7 {
        padding: 16px;
    }
    .hero-popup-form .wpcf7-form {
        grid-template-columns: 1fr;
    }
}

/* ======================================= */
/*   HERO POPUP — Dark Glass               */
/* ======================================= */
.hero-popup-overlay--open .hero-popup {
    background: rgba(30,30,30,0.94) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08) !important;
}
.hero-popup {
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 28px 24px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    color: #fff !important;
}
.hero-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: rgba(255,255,255,0.5) !important;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}
.hero-popup-close:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.1) !important;
}
.hero-popup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #e20612 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}
.hero-popup-star { font-size: 16px; }
.hero-popup-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.7) !important;
    margin: 0 0 20px;
    line-height: 1.5;
}

/* Form styles — đồng bộ với Contact section */
.hero-popup-form .wpcf7 {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 14px;
    padding: 20px;
}
.hero-popup-form .wpcf7-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.hero-popup-form .wpcf7-form p { margin: 0; }
.hero-popup-form .wpcf7-form-control-wrap { display: block; }
.hero-popup-form .wpcf7 label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.45);
    margin-bottom: 4px;
}
.hero-popup-form .wpcf7 input[type="text"],
.hero-popup-form .wpcf7 input[type="email"],
.hero-popup-form .wpcf7 input[type="tel"],
.hero-popup-form .wpcf7 select,
.hero-popup-form .wpcf7 textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    font-family: inherit;
    color: #fff;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s, background .2s;
}
.hero-popup-form .wpcf7 input::placeholder,
.hero-popup-form .wpcf7 textarea::placeholder {
    color: rgba(255,255,255,0.35);
}
.hero-popup-form .wpcf7 input:focus,
.hero-popup-form .wpcf7 select:focus,
.hero-popup-form .wpcf7 textarea:focus {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.1);
    outline: none;
}
.hero-popup-form .wpcf7 textarea {
    min-height: 80px;
    resize: vertical;
}
.hero-popup-form .wpcf7 select option {
    background: #2a2a2a;
    color: #fff;
}
.hero-popup-form .wpcf7-submit,
.hero-popup-form .wpcf7 .full-width {
    grid-column: 1 / -1;
}
.hero-popup-form .wpcf7 input[type="submit"] {
    width: 100%;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1a1a1a;
    background: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background .2s;
    margin: 0;
}
.hero-popup-form .wpcf7 input[type="submit"]:hover {
    background: #e8e8e8;
}
.hero-popup-form .wpcf7 input[type="submit"]:active {
    transform: translateY(0);
}
.hero-popup-form .wpcf7-response-output {
    grid-column: 1 / -1;
    margin: 0;
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 8px;
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.15);
}
.hero-popup-form .wpcf7-spinner {
    filter: invert(1);
    opacity: 0.7;
}

@media (max-width: 600px) {
    .hero-popup {
        padding: 16px 14px 16px;
        max-height: 85vh;
    }
    .hero-popup-form .wpcf7 {
        padding: 12px;
    }
    .hero-popup-form .wpcf7-form {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .hero-popup-sub {
        font-size: 11px;
        margin-bottom: 10px;
    }
}
