/* =========================================================
   Lapwifi24h.com — giao diện dựng lại theo web gốc
   ========================================================= */
@font-face { font-family: "UTM Avo"; src: url("../fonts/UTM-Avo.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "UTM AvoBold"; src: url("../fonts/UTM-AvoBold.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "UTM Akashi"; src: url("../fonts/UTM-Akashi.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Aristote"; src: url("../fonts/UTM-Aristote.ttf") format("truetype"); font-display: swap; }

:root {
  --orange: #f37021;
  --orange-2: #e25c0b;
  --grad: linear-gradient(to right, #e05705, #f98640, #e05705);
  --grad-btn: linear-gradient(to right, #e05806, #f68a48, #e25a09);
  --grad-blue: linear-gradient(to right, #034ea2, #5fa9fc, #034ea2);
  --text: #777;
  --dark: #333;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px; line-height: 1.6; color: var(--text); background: #fff;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
b, strong { font-weight: 700; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.avo { font-family: "UTM Avo"; }
.text-orange { color: var(--orange); }

/* ---------- Top bar ---------- */
.topbar { background: var(--orange); color: #fff; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.topbar .hotline { font-family: "UTM AvoBold"; font-size: 21px; padding: 2px 0; }
.topbar nav { display: flex; font-family: "UTM Avo"; font-size: 15px; }
.topbar nav a { padding: 0 14px; border-left: 1px solid rgba(255,255,255,.35); line-height: 1.2; }
.topbar nav a:first-child { border-left: 0; }
.topbar nav a:hover { opacity: .8; }

/* ---------- Header ---------- */
.header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo img { height: 45px; width: auto; }
.mainnav { display: flex; align-items: center; gap: 6px; }
.mainnav a {
  font-size: 12.8px; text-transform: uppercase; color: rgba(102,102,102,.85); padding: 7px 10px;
  border: 1px solid transparent; border-radius: 20px; white-space: nowrap; transition: color .2s;
}
.mainnav a:hover { color: var(--orange); }
.mainnav a.active { border-color: var(--orange); color: var(--orange); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.search-wrap { position: relative; display: inline-flex; }
.search-box { position: absolute; right: 0; top: 40px; display: none; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.15); border-radius: 6px; padding: 10px; width: 300px; z-index: 60; }
.search-box.open { display: flex; gap: 6px; }
.search-box input { flex: 1; background: #fff; color: #333; padding: 8px 10px; border: 1px solid #ddd; border-radius: 4px; font: inherit; font-size: 14px; }
.search-box input:focus { outline: none; border-color: var(--orange); }
.search-box button { background: var(--orange); color: #fff; border: 0; border-radius: 4px; padding: 0 14px; cursor: pointer; font-size: 14px; }
.search-btn { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #ddd; background: #fff; color: #999; display: grid; place-items: center; cursor: pointer; margin-left: 6px; }
.menu-toggle { display: none; background: none; border: 0; font-size: 28px; cursor: pointer; color: #666; }

/* ---------- Hero slider (ảnh gốc) ---------- */
.hero { position: relative; overflow: hidden; background: #eee; }
.slides { display: flex; transition: transform .6s ease; }
.slide { min-width: 100%; }
.slide img { width: 100%; aspect-ratio: 2880 / 700; object-fit: cover; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); background: rgba(0,0,0,.15); color: #fff; font-size: 22px; cursor: pointer; opacity: 0; transition: opacity .3s; }
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow.prev { left: 20px; } .hero-arrow.next { right: 20px; }
.hero-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; }
.hero-dots button.active { background: #fff; }

/* ---------- Page banner (trang con) ---------- */
.page-banner { background: url("../img/bg-banner.jpg") center / cover no-repeat; text-align: center; padding: 65px 15px; }
.page-banner h1 { font-family: "UTM AvoBold"; font-size: 32px; color: #fff; text-transform: uppercase; font-weight: 400; }
.page-banner.camera { background: url("../img/bg-ip66.jpg") center / cover no-repeat; padding: 83px 15px; }

/* ---------- Section title ---------- */
.section { padding-top: 30px; }
.section-title {
  display: flex; align-items: center; border-bottom: 2px solid #ececec; margin-bottom: 1.5em;
  font-family: "UTM AvoBold"; font-size: 26px; color: #555; font-weight: 400; line-height: 1.6;
}
.section-title span { text-transform: uppercase; padding-bottom: 7.5px; border-bottom: 2px solid var(--orange); margin-bottom: -2px; margin-right: 15px; }
.title-center { text-align: center; font-family: "UTM AvoBold"; font-size: 26px; color: #555; text-transform: uppercase; margin-bottom: 25px; font-weight: 400; }

/* ---------- Thẻ gói cước (theo .goi_cuoc_home) ---------- */
.goi_cuoc_home { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 3.5%; row-gap: 30px; align-items: start; }
.goi_cuoc_home.cols-4 { grid-template-columns: repeat(4, 1fr); column-gap: 2.6%; }
.goi_cuoc_home.cols-2 { grid-template-columns: repeat(2, 1fr); column-gap: 4%; }
.pkg { border: 1px solid #e6e6e6; border-radius: 10px; background: #efefef; box-shadow: 0 6px 4px rgba(0,0,0,.25); margin-bottom: 10px; }
.pkg h3 {
  background-image: var(--grad); text-align: center; padding: 10px; font-size: 28px; line-height: 1.6;
  border-radius: 10px 10px 0 0; font-family: "UTM Akashi"; color: #fff; text-transform: uppercase; font-weight: 700;
}
.pkg h3 .title-phu { display: block; font-family: "Aristote"; font-size: 26px; text-transform: capitalize; font-weight: 100; line-height: 1.2; }
.thongtin-goicuoc { padding: 15px 20px 5px; }
.gia-goicuoc { text-align: center; margin-bottom: 5px; font-size: 27px; font-family: "UTM AvoBold"; color: var(--orange-2); }
.gia-goicuoc span { font-size: 16px; font-family: "UTM Avo"; font-weight: 700; }
.tocdo-goicuoc { text-align: center; font-family: "UTM Avo"; font-size: 20px; font-weight: 700; color: #202020; line-height: 30px; border-bottom: 1px solid #d1d0d0; padding-bottom: 10px; margin-bottom: 20px; }
.tocdo-goicuoc .sotcodo { font-size: 16px; color: #5c5a5a; font-weight: 400; display: block; }
.tocdo-goicuoc .tocdogoi { font-size: 15px; }
.mota_goicuoc { font-family: "UTM Avo"; font-size: 16px; color: var(--dark); }
.mota_goicuoc p { margin-bottom: 10px; }
.bt_dangky { text-align: center; margin-top: 20px; background: #fff; padding: 19px 20px; border-radius: 0 0 10px 10px; }
.btn, .bt_dangky a {
  display: inline-block; background-image: var(--grad-btn); color: #fff; padding: 10px 25px; text-transform: uppercase;
  font-family: "UTM Avo"; border-radius: 20px; font-size: 15px; font-weight: 700; border: 0; cursor: pointer; line-height: 1.3;
}
.btn:hover, .pkg:hover .bt_dangky a, .pkg:hover h3, .goicamera:hover h3, .goicamera:hover .bt_dangky a, .camera-home:hover .btn { background-image: var(--grad-blue); }
.btn-outline { display: inline-block; border: 1px solid #034ea2; color: #034ea2; border-radius: 20px; padding: 7px 22px; font-family: "UTM Avo"; font-size: 15px; background: #fff; }
.btn-outline:hover { background: #034ea2; color: #fff; }
.note-center { text-align: center; font-family: "UTM Avo"; color: #555; margin: 30px 0 0; font-size: 15px; }

/* ---------- Camera trang chủ ---------- */
.camera-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 0 10px; }
.camera-home { background: #efefef; border-radius: 10px; box-shadow: 0 6px 4px rgba(0,0,0,.25); overflow: hidden; }
.camera-home h3 { background-image: var(--grad); text-align: center; font-size: 23px; font-family: "UTM AvoBold"; color: #fff; padding: 10px 0; text-transform: uppercase; font-weight: 400; }
.camera-home:hover h3 { background-image: var(--grad-blue); }
.noidung-camera { padding: 20px; display: flex; gap: 5%; }
.noidung-camera .img-thumb { width: 30%; flex-shrink: 0; }
.noidung-camera .text-content { font-family: "UTM Avo"; font-size: 16px; color: #777; }
.giasp { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 6px; }
.giasp .old { color: #898888; text-decoration: line-through; font-size: 15px; font-weight: 700; }
.giasp .new { color: #f26522; font-family: "UTM AvoBold"; font-size: 26px; }
.vat { font-size: 15px; color: #777; }
.camera-actions { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 15px 20px; }

/* ---------- Tin tức / Khuyến mãi ---------- */
.news-tabs { display: flex; gap: 12px; margin-bottom: 25px; }
.news-tabs button {
  background: #fff; border: 1px solid var(--orange); border-radius: 49px; padding: 7px 15px; cursor: pointer;
  font-family: "UTM AvoBold"; font-size: 23px; color: #555; text-transform: uppercase; line-height: 1.6;
}
.news-tabs button.active { color: var(--orange); box-shadow: 0 0 0 2px rgba(243,112,33,.15); }
.news-slider { position: relative; }
.news-track { display: flex; gap: 30px; overflow: hidden; scroll-behavior: smooth; padding: 6px 2px 14px; }
.news-track > * { flex: 0 0 calc((100% - 60px) / 3); }
.news-arrow { position: absolute; top: 35%; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #ccc; background: #fff; color: #666; cursor: pointer; font-size: 20px; z-index: 2; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.news-arrow.prev { left: -20px; } .news-arrow.next { right: -20px; }
.news-card { background: #f1f1f1; border-radius: 4px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.12); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 8px 18px rgba(0,0,0,.15); }
.news-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: #ddd; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .body { padding: 14px 18px 18px; }
.news-card h4 { color: #222; font-size: 15px; line-height: 1.45; font-weight: 700; margin-bottom: 14px; }
.news-card:hover h4 { color: var(--orange); }
.news-card .date { font-size: 11px; color: #999; margin-bottom: 4px; }
.news-card p { font-size: 13px; color: #666; line-height: 1.6; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* ---------- Trang con: chi tiết + ưu điểm ---------- */
.detail-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px 0 10px; }
.detail-cols h3 { font-family: "UTM AvoBold"; font-size: 24px; color: #333; text-transform: uppercase; font-weight: 400; margin-bottom: 12px; }
.list-icon li { background: url("../img/icon-li.png") left 6px no-repeat; padding-left: 24px; margin-bottom: 10px; font-family: "UTM Avo"; font-size: 15px; color: #666; }
.list-icon li b, .list-icon .hl { color: #e8343c; }
.list-icon li.no-icon { background: none; }

/* ---------- Trang Camera ---------- */
.intro-text { font-family: "UTM Avo"; color: #666; margin: 30px 0 20px; }
.banggia-camera { width: 100%; border-collapse: collapse; font-family: "UTM Avo"; color: #555; }
.banggia-camera td, .banggia-camera th { border: 1px solid #f17124; padding: 5px 20px; font-size: 16px; text-align: left; }
.banggia-camera th { color: var(--orange); font-family: "UTM AvoBold"; font-weight: 400; text-align: center; }
.banggia-camera td.c { text-align: center; }
.banggia-camera img { max-width: 260px; margin: 6px auto; }
.banggia-camera .gia { font-family: "UTM AvoBold"; font-size: 21px; color: var(--orange); }
.banggia-camera .old { text-decoration: line-through; color: #999; font-size: 14px; }
.table-wrap { overflow-x: auto; }
.storage-sec { background: #f3f3f3 url("../img/bg-camera.jpg") right center / auto 100% no-repeat; padding: 40px 0 50px; margin-top: 40px; }
.goicamera { border: 1px solid #d0cfd1; border-radius: 10px; background: rgba(255,255,255,.88); overflow: hidden; }
.goicamera h3 { background-image: var(--grad); text-transform: uppercase; text-align: center; padding: 15px 10px; font-size: 22px; font-family: "UTM AvoBold"; color: #fff; font-weight: 400; }
.goicamera .giacamera { text-align: center; font-size: 30px; font-family: "UTM AvoBold"; color: #e05705; line-height: 24px; margin: 30px 0 20px; }
.goicamera:hover .giacamera { color: #034ea2; }
.goicamera .donvitinh { font-size: 16px; color: #6a6a6a; font-family: "UTM Avo"; }
.thongtinkem { padding: 0 20px; }
.thongtinkem li { background: url("../img/ico-check.png") left center / 15px no-repeat; padding: 6px 0 6px 25px; font-family: "UTM Avo"; font-size: 15px; color: #555; border-bottom: 1px dashed #ddd; }
.goicamera:hover .thongtinkem li { background-image: url("../img/ico-check1.png"); }
.storage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 75%; }
.features-cam { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.tinhnang-camera li { font-family: "UTM Avo"; font-size: 17px; color: #6d6d6d; padding-left: 55px; min-height: 44px; margin-bottom: 14px; background: left top no-repeat; display: flex; align-items: center; }

/* ---------- Trang Lux ---------- */
.lux-hero { background: linear-gradient(176deg, #5985f6 0, #231c6f 96%); color: #fff; padding: 60px 0; position: relative; overflow: hidden; }
.lux-hero .row { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 20px; align-items: center; }
.lux-hero .quote { text-align: center; font-size: 14px; line-height: 1.7; }
.lux-hero .quote img { margin: 0 auto 20px; max-width: 220px; }
.lux-hero .quote b { display: block; margin-top: 14px; font-size: 15px; }
.lux-band { background: center / cover no-repeat; min-height: 560px; display: flex; align-items: center; color: #fff; position: relative; }
.lux-band .container { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; }
.lux-band h2 { font-size: 34px; line-height: 1.3; font-family: "UTM AvoBold"; font-weight: 400; }
.lux-band ul { margin-top: 16px; } .lux-band li { padding: 3px 0; }
.lux-band .girl { max-height: 520px; align-self: flex-end; }
.lux-band.light { color: #333; }
.lux-tech { text-align: center; padding: 60px 0 20px; }
.lux-tech h2 { font-family: "UTM AvoBold"; font-size: 32px; color: #222; font-weight: 400; }
.lux-tech h2 span { color: var(--orange); }
.lux-tabs { display: flex; justify-content: center; gap: 10px; margin: 26px 0; flex-wrap: wrap; }
.lux-tabs button { border: 1px solid var(--orange); background: #fff; color: var(--orange); border-radius: 20px; padding: 6px 18px; cursor: pointer; font-family: "UTM Avo"; }
.lux-tabs button.active { background: var(--orange); color: #fff; }
.lux-panel { display: none; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; text-align: left; background: #fafafa; border-radius: 16px; padding: 30px; }
.lux-panel.active { display: grid; }
.lux-panel h3 { font-family: "UTM AvoBold"; font-size: 26px; color: #222; font-weight: 400; }
.lux-price { background: #efefef; padding: 50px 0; text-align: center; }
.lux-price h2 { font-family: "UTM AvoBold"; font-size: 30px; color: #222; font-weight: 400; }
.lux-cta { background: url("../img/lux/world-map.png") center / contain no-repeat; text-align: center; padding: 70px 0 0; }
.lux-cta h2 { font-family: "UTM AvoBold"; font-size: 34px; color: #222; font-weight: 400; line-height: 1.3; }
.lux-cta img { margin: 30px auto 0; }

/* ---------- Bài viết ---------- */
.article { max-width: 860px; margin: 0 auto; padding: 40px 15px; color: #444; }
.article h1 { font-size: 28px; line-height: 1.35; color: #222; margin-bottom: 8px; }
.article .cover { margin: 20px 0; border-radius: 6px; }
.article p { margin: 14px 0; }
.article h2 { margin-top: 26px; color: var(--orange-2); font-size: 21px; }
.breadcrumb { font-size: 13px; color: #888; margin-bottom: 10px; }
.breadcrumb a:hover { color: var(--orange); }

/* ---------- Liên hệ ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; padding: 50px 0 20px; }
.contact-wrap h3 { font-family: "UTM AvoBold"; font-size: 24px; color: #333; text-transform: uppercase; font-weight: 400; margin-bottom: 12px; }
.contact-wrap p { margin-bottom: 8px; font-family: "UTM Avo"; color: #555; }

/* ---------- Forms ---------- */
.form label { display: block; font-size: 14px; margin: 10px 0 4px; color: #333; }
.form label .req { color: #e53935; margin-right: 2px; }
.form input[type=text], .form input[type=tel], .form textarea {
  width: 100%; padding: 9px 12px; border: 1px solid #ddd; border-radius: 4px; font: inherit; font-size: 14px; background: #fff; color: #333;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 2px rgba(243,112,33,.15); }
.form .checks label { display: flex; align-items: center; gap: 8px; margin: 3px 0; font-size: 13px; }
.form .btn { margin-top: 14px; width: 100%; }
.form .error { color: #d32f2f; font-size: 13px; margin-top: 6px; min-height: 18px; }
.success { text-align: center; padding: 30px 10px; color: #333; }
.success .icon { font-size: 48px; }

/* ---------- Popup (lightbox) ---------- */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: none; align-items: center; justify-content: center; z-index: 300; padding: 16px; }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: 8px; width: 100%; max-width: 440px; max-height: 92vh; overflow: auto; position: relative; animation: pop .25s ease; }
@keyframes pop { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-box .close { position: absolute; right: 10px; top: 8px; border: 0; background: none; font-size: 26px; cursor: pointer; color: #888; }
.modal-box .inner { padding: 24px 26px; }
.modal-box h3 { text-align: center; font-family: "UTM AvoBold"; font-size: 22px; color: var(--orange); font-weight: 400; }
.modal-box .sub { text-align: center; font-size: 14px; color: #666; }

/* ---------- Widget đăng ký góc trái (giống live chat gốc) ---------- */
.reg-widget { position: fixed; left: 32px; bottom: 100px; width: 300px; z-index: 120; background: #f1f1f1; border-radius: 8px; box-shadow: 0 6px 24px rgba(0,0,0,.25); overflow: hidden; display: none; }
.reg-widget.open { display: block; animation: pop .25s ease; }
.reg-widget .head { background: #6bbd45; color: #fff; display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 14px; }
.reg-widget .head img { width: 26px; height: 26px; border-radius: 50%; background: #fff; padding: 2px; object-fit: contain; }
.reg-widget .head .dot { width: 7px; height: 7px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 2px #fff; }
.reg-widget .head button { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #fff; color: #555; cursor: pointer; font-weight: 700; line-height: 1; }
.reg-widget .body { background: #fff; margin: 10px; border-radius: 8px; padding: 10px 14px 14px; max-height: 52vh; overflow: auto; }
.reg-widget .body h4 { text-align: center; color: #333; font-size: 14px; }
.reg-toggle { position: fixed; left: 24px; bottom: 24px; width: 50px; height: 50px; border-radius: 50%; background: #6bbd45; color: #fff; border: 0; cursor: pointer; z-index: 121; font-size: 22px; box-shadow: 0 4px 12px rgba(0,0,0,.25); }

/* ---------- Footer ---------- */
.footer { background: var(--orange); color: #fff; margin-top: 60px; }
.footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 40px 15px 20px; }
.footer h4 { font-family: "UTM AvoBold"; font-size: 18px; text-transform: uppercase; font-weight: 400; margin-bottom: 14px; }
.footer p { font-family: "UTM Avo"; margin-bottom: 14px; }
.footer p b { font-family: "UTM AvoBold"; font-weight: 400; }
.footer ul li a { display: block; font-family: "UTM Avo"; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.footer ul li a:hover { opacity: .8; }
.footer .zalo-ico { width: 36px; margin-bottom: 18px; }
.pay-box { background: #fff; color: #333; font-family: Consolas, "Courier New", monospace; font-size: 12px; padding: 12px; border-radius: 2px; max-height: 130px; overflow: auto; line-height: 1.7; }
.absolute-footer { background: #333; color: rgba(255,255,255,.5); text-align: center; font-size: 14.4px; padding: 10px 0 15px; }

/* ---------- Nút nổi ---------- */
.float-zalo { position: fixed; right: 22px; bottom: 150px; width: 50px; height: 50px; border-radius: 50%; background: #2196f3 url("../img/zalo-float.png") center / 60% no-repeat; z-index: 90; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(33,150,243,.6); } 70% { box-shadow: 0 0 0 14px rgba(33,150,243,0); } 100% { box-shadow: 0 0 0 0 rgba(33,150,243,0); } }
.float-call { position: fixed; right: 20px; bottom: 90px; display: flex; align-items: center; z-index: 90; }
.float-call .bar { background: #e60808; color: #fff; font-weight: 700; font-size: 17px; letter-spacing: .5px; padding: 0 56px 0 18px; height: 40px; line-height: 40px; border-radius: 22px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.float-call .ring { position: absolute; right: -6px; width: 56px; height: 56px; border-radius: 50%; background: #e60808 url("../img/icon-call.png") center / 26px no-repeat; box-shadow: 0 0 0 6px rgba(230,8,8,.25); animation: ring 1.2s infinite; }
@keyframes ring { 0%,100% { transform: rotate(0); } 10%,30% { transform: rotate(-20deg); } 20%,40% { transform: rotate(20deg); } 50% { transform: rotate(0); } }
.to-top { position: fixed; right: 26px; bottom: 24px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--orange); background: #fff; color: var(--orange); cursor: pointer; font-size: 16px; opacity: 0; pointer-events: none; transition: .3s; z-index: 90; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  .mainnav { position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; display: none; box-shadow: 0 8px 14px rgba(0,0,0,.1); }
  .mainnav.open { display: flex; }
  .mainnav a { border-radius: 0; border: 0; border-bottom: 1px solid #eee; padding: 12px 16px; }
  .mainnav a.active { border-color: #eee; }
  .search-btn { display: none; }
}
@media (max-width: 960px) {
  .goi_cuoc_home, .goi_cuoc_home.cols-4 { grid-template-columns: repeat(2, 1fr); column-gap: 4%; }
  .camera-row, .detail-cols, .contact-wrap, .features-cam, .lux-panel.active { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .news-track > * { flex-basis: calc((100% - 30px) / 2); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .storage-grid { max-width: 100%; }
  .storage-sec { background-image: none; }
  .lux-hero .row { grid-template-columns: 1fr; } .lux-hero .side { display: none; }
  .lux-band .girl { display: none; } .lux-band { min-height: 360px; }
}
@media (max-width: 640px) {
  .goi_cuoc_home, .goi_cuoc_home.cols-4, .goi_cuoc_home.cols-2, .storage-grid, .news-grid, .footer .cols { grid-template-columns: 1fr; }
  .topbar nav { display: none; }
  .topbar .hotline { font-size: 17px; }
  .section-title { font-size: 20px; }
  .news-tabs button { font-size: 17px; }
  .news-track > * { flex-basis: 100%; }
  .news-arrow.prev { left: 0; } .news-arrow.next { right: 0; }
  .noidung-camera { flex-direction: column; } .noidung-camera .img-thumb { width: 100%; }
  .page-banner h1 { font-size: 24px; }
  .float-call .bar { display: none; }
  .reg-widget { left: 10px; right: 10px; width: auto; bottom: 84px; }
  .lux-band h2, .lux-cta h2 { font-size: 26px; }
}
