/* Khu Đô Thị Thông Minh Thịnh An (smarthome) — landing theo mockup smarthome-home/mockups/home-desktop-v1.png (721px -> 1440 = x2.0) */
:root { --tan-g: #2f6e5f; --tan-gd: #0f4a3a; --tan-y: #f0d050; --tan-y2: #e3c03a; --tan-gold: #c9a43a; --tan-cr: #faf6ec; --tan-ink: #1b2a24; --tan-mut: #4f5a55; --tan-line: #e6e2d6;
  --tan-f: 'Inter', 'Roboto', Arial, sans-serif; --tan-s: 'Playfair Display', 'Noto Serif', Georgia, serif; }
body, p, li, a, span, div, input, select, textarea, button, label, .nav > li > a { font-family: var(--tan-f) !important; }
h1, h2, h3, .tan-h1, .tan-h2, .tan-serif { font-family: var(--tan-s) !important; }
body { background: #fff; }
#main, .home #main { background-color: #fff !important; background-image: none !important; }
.tan-ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: 0 0 auto; }
#button-contact-vr, .button-contact-vr, #zalo-vr, #phone-vr, .absolute-footer, .float-contact, .hotline-phone-ring-wrap { display: none !important; }
img[src=""] { visibility: hidden; }

/* ---------- header (trong suốt trên hero) ---------- */
#header .header-wrapper { box-shadow: none !important; border-bottom: 0 !important; }
#header.transparent .header-wrapper:not(.stuck) .header-main, #header.transparent .header-wrapper:not(.stuck) .header-bg-color { background: transparent !important; }
#header.transparent .header-wrapper:not(.stuck) .header-main { border-bottom: 1px solid rgba(255,255,255,.18); }
#header .header-main, #header .header-wrapper.stuck .header-main { background: var(--tan-gd); }
#logo { width: auto !important; margin: 0 !important; top: 0 !important; position: relative; }
#header #logo a { display: inline-flex; align-items: center; gap: 14px; font-size: 0 !important; color: #fff !important; text-transform: uppercase; top: 0; margin: 0; line-height: 1; }
#header #logo a::before { content: ""; width: 50px; height: 60px; flex: 0 0 50px; background: url("icons/logo.png") center/contain no-repeat; }
#header #logo a::after { content: "Thịnh An"; font: 600 26px/1 var(--tan-f); letter-spacing: .03em; color: #fff; padding-top: 18px; }
#header #logo::after { content: "Khu đô thị thông minh"; position: absolute; left: 62px; top: 50%; margin-top: -19px; font: 500 12.5px/1 var(--tan-f); letter-spacing: .03em; text-transform: uppercase; color: #efe9d8; pointer-events: none; white-space: nowrap; }
#header .header-main .flex-left { flex: 1 1 auto; justify-content: center; }
#header .header-main .flex-left .header-nav-main { justify-content: center; }
#header .header-nav-main { flex-wrap: nowrap; align-items: center; }
#header .flex-left .header-nav-main > li { margin: 0 18px !important; }
#header .flex-left .header-nav-main > li > a { font-size: 16px !important; font-weight: 500 !important; color: #fff !important; text-transform: none !important; padding: 0 !important; line-height: 40px !important; white-space: nowrap; }
#header .header-nav-main > li > a::after, #header .header-nav-main > li > a::before { display: none !important; }
#header .flex-left .header-nav-main > li > a:hover { color: var(--tan-y) !important; }
#header .flex-right .header-nav-main > li { margin: 0 !important; }
#header .header-button-1 .button { height: 44px; min-height: 44px; line-height: 44px; padding: 0 24px; margin: 0; border: 0 !important; border-radius: 4px !important; background: var(--tan-y) !important; color: var(--tan-gd) !important; font-size: 16px !important; font-weight: 600; text-transform: none !important; letter-spacing: 0; box-shadow: none; }
#header .header-button-1 .button span { font-size: inherit !important; }
#header .header-button-1 .button:hover { background: var(--tan-y2) !important; }
#header .mobile-nav i, #header .mobile-nav .icon-menu { color: #fff !important; }
#header .nav-icon a, #header .mobile-nav .nav-icon a { background: transparent !important; color: #fff !important; }

/* ---------- chung ---------- */
.section.tan-sec, .section.tan-hero, .section.tan-footer { padding: 0 !important; }
.tan-sec .col, .tan-hero .col, .tan-footer .col { padding-bottom: 0 !important; }
.tan-sec p:not([class]), .tan-footer p:not([class]), .tan-hero p:not([class]) { display: contents; }
.tan-line { display: block; width: 56px; height: 3px; background: var(--tan-y); margin-bottom: 18px; }
.tan-h2 { font-size: 48px; line-height: 1.15; font-weight: 700; color: var(--tan-gd); margin: 0; letter-spacing: -.005em; }
.tan-h2s { font-family: var(--tan-f) !important; font-size: 23px; font-weight: 500; color: var(--tan-g); margin-top: 8px; }
.tan-p { font-size: 19px; line-height: 1.6; color: var(--tan-mut); margin-top: 14px; }
.tan-btn { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 28px; background: var(--tan-y); color: var(--tan-gd) !important; border-radius: 4px; font-size: 17px; font-weight: 600; }
.tan-btn:hover { background: var(--tan-y2); }
.tan-btn .tan-ic { font-size: 20px; }

/* ---------- hero + thanh thông tin ---------- */
.section.tan-hero { min-height: 580px; align-items: flex-start !important; overflow: visible; z-index: 2; }
.tan-hero .section-bg img.bg { object-position: 60% 50%; }
.tan-hero .section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,25,20,.55) 0, rgba(10,25,20,.25) 38%, rgba(10,25,20,0) 60%); }
.tan-hero-in { padding: 142px 0 0; }
.tan-eyebrow { position: relative; font-size: 21px; color: #fff; padding-top: 22px; }
.tan-eyebrow::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 3px; background: var(--tan-y); }
h1.tan-h1 { font-family: var(--tan-f) !important; letter-spacing: -.015em; }
.tan-h1 { font-size: 64px; line-height: 1.17; font-weight: 700; color: #fff !important; margin: 10px 0 0; }
.tan-hero-s { font-size: 24px; color: #fff; margin-top: 14px; font-weight: 500; }
.tan-hero-in .tan-btn { margin-top: 26px; height: 52px; }
.tan-info { position: relative; display: grid; grid-template-columns: 1.1fr 1fr 1.1fr 1fr 1fr; background: #fff; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.12); margin: 34px 0 -60px; padding: 22px 0; }
.tan-info > div { display: flex; align-items: flex-start; gap: 16px; padding: 0 22px 0 30px; }
.tan-info > div + div { border-left: 1px solid var(--tan-line); }
.tan-info img { width: 40px; height: 40px; flex: 0 0 40px; }
.tan-info span { font-size: 15px; line-height: 1.4; color: var(--tan-ink); }
.tan-info b { display: block; font-size: 15px; font-weight: 600; color: var(--tan-g); margin-bottom: 4px; }

/* ---------- tổng quan / vị trí (chữ trái, ảnh tràn phải) ---------- */
.section.tan-ov-sec { padding: 104px 0 0 !important; overflow: hidden; }
.tan-split { display: grid; grid-template-columns: 560px minmax(0, 1fr); gap: 42px; align-items: start; }
.tan-split > * { min-width: 0; }
.tan-split-txt { padding: 6px 0 30px; }
.tan-split-img { height: 400px; margin-right: calc(621px - 50vw); }
.tan-split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tan-feats { display: flex; margin-top: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--tan-line); }
.tan-feats > div { display: flex; align-items: center; gap: 16px; padding-right: 26px; font-size: 17px; line-height: 1.35; color: var(--tan-ink); }
.tan-feats > div + div { padding-left: 26px; border-left: 1px solid var(--tan-line); }
.tan-feats img { width: 46px; height: 46px; }
.tan-owner { margin-top: 18px; font-size: 15px; color: var(--tan-mut); }
.tan-owner > div { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.tan-owner img { width: 30px; height: 30px; } .tan-owner b { font-size: 17px; color: var(--tan-gd); font-weight: 600; }
.section.tan-loc-sec { padding: 22px 0 0 !important; overflow: hidden; }
.tan-split-loc { position: relative; }
.tan-split-loc::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(621px - 50vw); right: calc(100% - 600px); background: var(--tan-cr); z-index: 0; }
.tan-split-loc > * { position: relative; z-index: 1; }
.tan-split-loc .tan-split-txt { padding: 52px 0 22px; }
.tan-map { height: 420px; position: relative; background: #e7efe4; }
.tan-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.tan-map-tag { position: absolute; left: calc(50% + 18px); top: calc(50% - 46px); display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 4px; background: var(--tan-gd); color: #fff; font-size: 15px; font-weight: 700; text-transform: uppercase; pointer-events: none; }
.tan-locs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
.tan-locs > div { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 17px; line-height: 1.3; color: var(--tan-ink); font-weight: 500; }
.tan-locs > div + div { border-left: 1px solid var(--tan-line); }
.tan-locs img { width: 40px; height: 40px; }
.tan-note { font-size: 14px; color: #8a8f8b; margin-top: 18px; }

/* ---------- tiện ích ---------- */
.section.tan-am-sec { padding: 40px 0 0 !important; }
.tan-am { display: grid; gap: 10px; }
.tan-am-r1 { display: grid; grid-template-columns: 660fr 300fr 262fr; gap: 10px; height: 250px; }
.tan-am-r2 { display: grid; grid-template-columns: 450fr 440fr 332fr; gap: 10px; height: 188px; }
.tan-am-r1 > *, .tan-am-r2 > * { min-width: 0; position: relative; overflow: hidden; background: #e5e9e3; }
.tan-am-r1 { margin-bottom: 0; }
.tan-am img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tan-am-big { overflow: visible !important; }
.tan-am-big img { position: absolute; left: 300px; right: 0; top: 0; width: auto; height: 100%; }
.tan-am-big::after { content: ""; position: absolute; left: 0; right: 0; top: 96px; bottom: 0; z-index: 0; }
.tan-am-big > img { left: 0; width: 100%; }
.tan-am-hd { position: absolute; left: 0; top: 0; width: 410px; padding: 0 20px 18px 0; background: #fff; z-index: 2; }
.tan-am-n { position: absolute; left: 18px; bottom: 14px; z-index: 1; color: #fff; font-size: 17px; font-weight: 500; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.tan-am-t::after, .tan-am-big::before { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.4)); z-index: 0; pointer-events: none; }

/* ---------- phân khu ---------- */
.section.tan-zone-sec { padding: 40px 0 0 !important; }
.tan-zhd { display: flex; align-items: flex-end; gap: 62px; }
.tan-zts { display: flex; margin-bottom: 4px; border: 1px solid var(--tan-line); }
.tan-zt { width: 172px; height: 46px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--tan-ink) !important; background: #fff; }
.tan-zt + .tan-zt { border-left: 1px solid var(--tan-line); }
.tan-zt.is-on { background: var(--tan-gd); color: #fff !important; font-weight: 600; }
.tan-zone { display: none; grid-template-columns: 792fr 450fr; margin-top: 18px; }
.tan-zone.is-on { display: grid; }
.tan-zone > * { min-width: 0; }
.tan-zone-img { height: 300px; background: #e5e9e3; } .tan-zone-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tan-zone-txt { background: var(--tan-cr); padding: 34px 44px 30px 54px; }
.tan-zone-txt h3 { font-size: 32px; line-height: 1.2; font-weight: 700; color: var(--tan-gd); margin: 0; }
.tan-zone-txt > div { font-size: 16.5px; line-height: 1.6; color: var(--tan-mut); margin-top: 16px; }
.tan-zone-txt .tan-btn { margin-top: 20px; height: 46px; font-size: 16px; padding: 0 22px; }

/* ---------- mặt bằng ---------- */
.section.tan-mb-sec { padding: 34px 0 0 !important; }
.tan-mb-hd { display: flex; align-items: flex-end; gap: 56px; }
.tan-mb-hd .tan-h2, .tan-zhd > div { flex: 0 0 auto; width: fit-content; white-space: nowrap; }
.tan-uts { display: grid; grid-template-columns: repeat(4, 150px); border: 1px solid var(--tan-line); margin-bottom: 4px; }
.tan-ut { height: 44px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--tan-ink) !important; }
.tan-ut + .tan-ut { border-left: 1px solid var(--tan-line); }
.tan-ut.is-on { background: var(--tan-gd); color: #fff !important; font-weight: 600; }
.tan-mb-body { display: grid; grid-template-columns: 560px minmax(0, 1fr); gap: 100px; margin-top: 30px; }
.tan-plans { padding-left: 166px; }
.tan-plan { display: none; width: 424px; height: 424px; background: #f6f6f4; } .tan-plan.is-on { display: block; }
.tan-plan img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tan-mb-r { padding-top: 24px; max-width: 486px; }
.tan-uh { display: none; } .tan-uh.is-on { display: block; }
.tan-uh h3 { font-size: 30px; font-weight: 700; color: var(--tan-g); margin: 0; }
.tan-uh > div { font-size: 16px; color: var(--tan-mut); margin-top: 6px; }
.tan-tbl { margin-top: 18px; border: 1px solid var(--tan-line); }
.tan-th, .tan-tr { display: grid; grid-template-columns: 1fr 1fr; }
.tan-th { background: #f3f2ee; font-weight: 600; color: var(--tan-gd); }
.tan-th span, .tan-tr span { padding: 10px 30px; font-size: 16.5px; }
.tan-th span:first-child::before { content: "▾ "; color: var(--tan-g); font-size: 12px; }
.tan-tr { border-top: 1px solid var(--tan-line); color: var(--tan-ink); }
.tan-tr span + span, .tan-th span + span { border-left: 1px solid var(--tan-line); }
.tan-tr.is-on { background: #f7f4e8; font-weight: 600; }
.tan-btn-ol { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 64px; margin-top: 26px; border: 1.5px solid var(--tan-gd); border-radius: 4px; color: var(--tan-gd) !important; font-size: 17px; font-weight: 600; }
.tan-btn-ol:hover { background: var(--tan-gd); color: #fff !important; }

/* ---------- tiến độ ---------- */
.section.tan-pr-sec { padding: 26px 0 0 !important; }
.tan-prog { display: grid; grid-template-columns: 520px minmax(0, 1fr); gap: 60px; }
.tan-prog-l { padding-top: 40px; }
.tan-tl { position: relative; display: grid; gap: 10px; padding-left: 40px; }
.tan-tl::before { content: ""; position: absolute; left: 6px; top: 26px; bottom: 26px; width: 2px; background: var(--tan-y); }
.tan-ti { position: relative; display: flex; align-items: center; gap: 24px; }
.tan-ti::before { content: ""; position: absolute; left: -40px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--tan-gd); box-shadow: 0 0 0 3px #fff; }
.tan-ti img { width: 110px; height: 62px; object-fit: cover; flex: 0 0 110px; background: #e5e9e3; }
.tan-ti b { display: block; font-size: 16px; font-weight: 700; color: var(--tan-g); }
.tan-ti span { display: block; font-size: 15px; line-height: 1.45; color: var(--tan-mut); margin-top: 3px; }

/* ---------- chính sách ---------- */
.section.tan-pol-sec { padding: 14px 0 34px !important; }
.tan-pols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; margin-top: 22px; }
.tan-pols > * { min-width: 0; }
.tan-pol { display: flex; align-items: center; gap: 30px; height: 150px; padding: 0 24px 0 44px; background: var(--tan-gd); border: 2px solid var(--tan-gold); outline: 1px solid rgba(201,164,58,.35); outline-offset: -8px; box-shadow: 0 6px 18px rgba(15,74,58,.18); }
.tan-pol img { width: 62px; height: 62px; flex: 0 0 62px; }
.tan-pol h3 { font-family: var(--tan-f) !important; font-size: 22px; font-weight: 600; color: #fff; margin: 0 0 8px; }
.tan-pol span { display: block; font-size: 15px; line-height: 1.5; color: #dfe9e4; }
.tan-pnote { text-align: center; font-size: 15px; color: var(--tan-mut); margin-top: 22px; }

/* ---------- đăng ký ---------- */
.section.tan-cta-sec { min-height: 436px; padding: 0 !important; }
.tan-cta-sec .section-bg img.bg { object-position: 50% 50%; }
.tan-cta { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 40px; align-items: center; min-height: 436px; padding: 18px 0; }
.tan-cta-box { width: 560px; background: rgba(15,74,58,.92); border: 1.5px solid var(--tan-gold); padding: 34px 44px 36px 64px; margin-top: 40px; }
.tan-cta-h { font-size: 38px; font-weight: 600; color: #fff !important; margin: 0; line-height: 1.2; white-space: nowrap; }
.tan-cta-s { font-size: 21px; color: #f1ede1; margin-top: 10px; }
.tan-cta-ph { display: inline-flex; align-items: center; gap: 14px; margin-top: 16px; font-size: 30px; font-weight: 700; color: #fff !important; letter-spacing: .01em; }
.tan-cta-ph .tan-ic { color: var(--tan-y); }
.tan-form { background: #fff; border-radius: 4px; padding: 26px 30px 30px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.tan-form h3 { font-family: var(--tan-f) !important; font-size: 19px; font-weight: 700; color: var(--tan-gd); margin: 0 0 16px; }
.tan-form .wpcf7 form > div, .tan-form .wpcf7 p { margin: 0; }
.tan-ff { display: grid; gap: 12px; }
.tan-ff .wpcf7-form-control-wrap { display: block; }
.tan-form input[type=text], .tan-form input[type=tel], .tan-form input[type=email], .tan-form select { width: 100%; height: 40px; margin: 0; border: 1px solid #dcdcd6 !important; border-radius: 3px; box-shadow: none !important; font-size: 15px; padding: 0 14px; background-color: #fff; color: #555; }
.tan-agree { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--tan-mut); margin: 0; font-weight: 400; }
.tan-agree .wpcf7-list-item { margin: 0; } .tan-agree input { margin: 0 6px 0 0; }
.tan-form .tan-fbtn { display: block; width: 100%; height: 48px; min-height: 48px; margin: 16px 0 0; border: 0; border-radius: 3px; background: var(--tan-y) !important; color: var(--tan-gd) !important; font-size: 17px; font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 48px; padding: 0; }
.tan-form .wpcf7-spinner { position: absolute; }
.tan-form .wpcf7-response-output { margin: 10px 0 0 !important; font-size: 13px; }

/* ---------- footer ---------- */
#footer .section.tan-footer { border-top: 0 !important; }
.section.tan-footer { padding: 36px 0 0 !important; }
.tan-ft { display: grid; grid-template-columns: 395fr 405fr 270fr 172fr; }
.tan-ft > * { min-width: 0; }
.tan-ft-logo { display: inline-flex; align-items: center; gap: 16px; color: #fff !important; text-transform: uppercase; }
.tan-ft-logo img { width: 66px; height: 74px; object-fit: contain; }
.tan-ft-logo span { display: flex; flex-direction: column; font-size: 26px; font-weight: 600; letter-spacing: .02em; line-height: 1.2; }
.tan-ft-logo small { font-size: 13px; font-weight: 500; color: #e5ecd9; }
.tan-ft-col h4 { font-size: 17px; font-weight: 600; color: var(--tan-y) !important; margin: 4px 0 14px; text-transform: none; letter-spacing: 0; font-family: var(--tan-f) !important; }
.tan-ft-col a, .tan-ft-ct > div { display: flex; align-items: flex-start; gap: 14px; font-size: 15.5px; line-height: 1.45; color: #e3ece7 !important; margin-bottom: 8px; }
.tan-ft-col a:hover { color: var(--tan-y) !important; }
.tan-ft-ct .tan-ic { font-size: 19px; color: #fff; margin-top: 1px; }
.tan-soc { display: flex; gap: 14px; }
.tan-soc a { width: 44px; height: 44px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 8px; display: flex !important; align-items: center; justify-content: center; font-size: 22px; color: #fff !important; margin: 0; }
.tan-fbar { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.18); margin-top: 22px; padding: 16px 0 18px; font-size: 14px; color: #d6e2db; }
.tan-fbar a { color: #d6e2db !important; }
.tan-footer a[href^="mailto"] span { overflow-wrap: anywhere; }

/* ---------- mobile ---------- */
@media (max-width: 849px) {
  #header #logo a::before { width: 34px; height: 40px; flex-basis: 34px; } #header #logo a::after { font-size: 18px; padding-top: 0; } #header #logo a { gap: 8px; } #header #logo::after { left: 42px; font-size: 9px; margin-top: -13px; }
  #header .header-inner > .show-for-medium.flex-left, #header .header-inner > .show-for-medium.flex-right { flex: 1 1 0; margin: 0 !important; }
  #header .header-inner > #logo { flex: 0 0 auto; }
  #header .header-inner > .show-for-medium.flex-right .mobile-nav { justify-content: flex-end; }
  #header .mobile-nav .header-button-1 .button { height: 34px; min-height: 34px; line-height: 34px; padding: 0 10px; font-size: 12.5px !important; white-space: nowrap; }
  #header #logo::after { display: none; }
  #header.transparent .header-wrapper:not(.stuck) .header-main { background: var(--tan-gd) !important; }
  .section.tan-hero { min-height: 0; padding-top: 314px !important; background-color: var(--tan-gd) !important; }
  .section.tan-hero .section-bg { top: 0; bottom: auto; height: 314px; }
  .section.tan-hero .section-bg::after { display: none; }
  .section.tan-hero .section-bg img.bg { object-position: 65% 50%; }
  .tan-hero-in { padding: 24px 0 0; }
  .tan-eyebrow { font-size: 15px; } .tan-h1 { font-size: 40px; } .tan-hero-s { font-size: 17px; }
  .tan-info { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 0; margin: 26px 0 -40px; padding: 18px 0; }
  .tan-info > div { padding: 0 12px; gap: 10px; } .tan-info > div + div { border-left: 0; }
  .tan-info > div:last-child { grid-column: 1 / -1; }
  .tan-info img { width: 30px; height: 30px; flex-basis: 30px; } .tan-info span, .tan-info b { font-size: 13.5px; }
  .section.tan-ov-sec { padding-top: 70px !important; }
  .tan-h2 { font-size: 32px; } .tan-h2s { font-size: 17px; } .tan-p { font-size: 16px; }
  .tan-split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tan-split-img { height: 230px; margin-right: 0; }
  .tan-feats > div { font-size: 14.5px; gap: 10px; padding-right: 12px; } .tan-feats > div + div { padding-left: 12px; } .tan-feats img { width: 34px; height: 34px; }
  .tan-split-loc::before { left: calc(50% - 50vw); right: calc(50% - 50vw); }
  .tan-split-loc .tan-split-txt { padding: 30px 0 0; }
  .tan-map { height: 260px; }
  .tan-locs > div { font-size: 14px; }
  .tan-am-r1, .tan-am-r2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: auto; }
  .tan-am-r1 > *, .tan-am-r2 > * { height: 150px; }
  .tan-am-big { grid-column: 1 / -1; height: auto !important; padding-top: 110px; overflow: hidden !important; }
  .tan-am-big > img { position: static; height: 180px; }
  .tan-am-hd { width: 100%; }
  .tan-am-r2 > *:last-child { grid-column: 1 / -1; }
  .tan-zhd, .tan-mb-hd { flex-direction: column; align-items: flex-start; gap: 14px; }
  .tan-zts { width: 100%; align-self: stretch; } .tan-zt { flex: 1 1 0; width: auto; font-size: 14px; }
  .tan-zone.is-on { grid-template-columns: minmax(0, 1fr); }
  .tan-zone-img { height: 220px; } .tan-zone-txt { padding: 22px 18px 24px; } .tan-zone-txt h3 { font-size: 25px; }
  .tan-uts { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; } .tan-ut { font-size: 14px; }
  .tan-mb-body { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; }
  .tan-plans { padding-left: 0; } .tan-plan { width: 100%; height: auto; aspect-ratio: 1; }
  .tan-th span, .tan-tr span { padding: 9px 14px; font-size: 15px; }
  .tan-btn-ol { padding: 0 24px; width: 100%; justify-content: center; }
  .tan-prog { grid-template-columns: minmax(0, 1fr); gap: 20px; } .tan-prog-l { padding-top: 0; }
  .tan-ti { gap: 14px; } .tan-ti img { width: 80px; height: 54px; flex-basis: 80px; } .tan-ti span { font-size: 13.5px; }
  .tan-pols { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tan-pol { height: auto; padding: 22px 20px; gap: 20px; } .tan-pol img { width: 46px; height: 46px; flex-basis: 46px; }
  .section.tan-cta-sec { padding-top: 200px !important; background-color: var(--tan-gd) !important; }
  .tan-cta-sec .section-bg { top: 0; bottom: auto; height: 200px; }
  .tan-cta { grid-template-columns: minmax(0, 1fr); gap: 18px; min-height: 0; padding: 0 0 26px; }
  .tan-cta-box { width: auto; margin: -50px 0 0; padding: 22px 20px 24px; }
  .tan-cta-h { font-size: 28px; white-space: normal; } .tan-cta-s { font-size: 17px; } .tan-cta-ph { font-size: 24px; }
  .tan-form { padding: 20px 16px 22px; }
  .tan-ft { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 16px; }
  .tan-ft-brand, .tan-ft-ct { grid-column: 1 / -1; }
  .tan-fbar { flex-direction: column; gap: 6px; text-align: center; }
}

/* mid-fix */
@media (min-width: 850px) and (max-width: 1399px) {
  #header .flex-left .header-nav-main > li { margin: 0 10px !important; }
  .tan-split-img { margin-right: calc(50% - 50vw); }
  .tan-split-loc::before { left: calc(50% - 50vw); }
  .tan-info > div { padding: 0 12px 0 16px; gap: 10px; } .tan-info img { width: 32px; height: 32px; flex-basis: 32px; }
  .tan-mb-body { gap: 40px; } .tan-plans { padding-left: 40px; }
}
@media (min-width: 850px) and (max-width: 1199px) {
  #header .header-button-1 { display: none !important; }
  .tan-split { grid-template-columns: 440px minmax(0, 1fr); gap: 30px; }
  .tan-info { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 0; }
  .tan-info > div:nth-child(4) { border-left: 0; }
  .tan-zhd, .tan-mb-hd { gap: 24px; } .tan-zt { width: 130px; } .tan-uts { grid-template-columns: repeat(4, 110px); }
  .tan-zone.is-on { grid-template-columns: 1.3fr 1fr; } .tan-zone-txt { padding: 24px; }
  .tan-mb-body { grid-template-columns: 380px minmax(0, 1fr); } .tan-plans { padding-left: 0; } .tan-plan { width: 380px; height: 380px; }
  .tan-prog { grid-template-columns: 360px minmax(0, 1fr); gap: 30px; }
  .tan-pols { gap: 16px; } .tan-pol { padding: 0 18px; gap: 16px; }
  .tan-cta { grid-template-columns: minmax(0, 1fr) 420px; } .tan-cta-box { width: auto; padding: 28px; }
  .tan-ft { grid-template-columns: 1.1fr 1.3fr 1fr 0.8fr; gap: 0 14px; }
}
/* /mid-fix */
/* _midwidth: header Flatsome ở 850-1399px (laptop nhỏ/tablet ngang) — menu dựng theo mockup 1440 tràn phải; dùng chung mọi site */
@media (min-width: 850px) and (max-width: 1399px) {
  #header .header-nav-main > li, #header .header-bottom-nav > li { margin-left: 6px !important; margin-right: 6px !important; }
  #header .header-nav-main > li > a, #header .header-bottom-nav > li > a { font-size: 14px !important; }
  #header .header-search-form { max-width: 300px !important; width: 300px !important; margin-left: 20px !important; }
}
@media (min-width: 850px) and (max-width: 1199px) {
  #logo { width: auto !important; max-width: 210px !important; } #logo a { font-size: 21px !important; }
  #header .header-main .flex-right .header-button-1, #header .header-main .flex-right li.html, #header .header-search-form, #top-bar .flex-right { display: none !important; }
  #header .header-nav-main > li, #header .header-bottom-nav > li { margin-left: 3px !important; margin-right: 3px !important; }
  #header .header-nav-main > li > a, #header .header-bottom-nav > li > a { font-size: 13px !important; }
  #header .flex-col { min-width: 0; } #header .header-inner, #header .header-bottom .container { overflow: hidden; }
}
.col-inner a[href^="mailto"], .col-inner a[href^="tel"] { overflow-wrap: anywhere; }
