/* canhotaymo.com — stylesheet dùng chung cho các trang đích
   Sửa 1 lần ở đây là áp dụng cho tất cả các trang. */

:root{
  --blue:#0b63f6;
  --zalo:#0868ff;
  --green:#15803d;
  --call:#c2410c;
  --dark:#101828;
  --muted:#667085;
  --border:#e4e7ec;
  --light:#f7f9fc;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--dark);line-height:1.5;background:#fff;-webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
img{max-width:100%}
.container{width:100%;max-width:1120px;margin:auto;padding:0 16px}

/* ---------- Nút ---------- */
.btn{display:flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:13px;min-height:52px;padding:12px 16px;font-weight:850;cursor:pointer;text-align:center}
.btn-blue{background:var(--blue);color:#fff}
.btn-zalo{background:var(--zalo);color:#fff}
.btn-green{background:var(--green);color:#fff}
.btn-call{background:var(--call);color:#fff}
.btn-ghost{background:#fff;color:var(--dark);border:1.5px solid var(--border)}

/* ---------- Thanh trên cùng ---------- */
.topbar{background:#0b1220;color:#fff;font-size:13px}
.topbar-in{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.brand{font-weight:950;letter-spacing:-.2px}
.brand span{color:#9fc5ff}
.topbar-tel{font-weight:850;color:#fff;white-space:nowrap}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;background:#0d1728;color:#fff}
.hero-bg{position:absolute;inset:0;z-index:0}
.hero-bg img{width:100%;height:100%;object-fit:cover;display:block}
.hero:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(6,13,27,.87),rgba(6,13,27,.72) 52%,rgba(6,13,27,.42))}
.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1fr;gap:24px;padding:30px 0 34px}
.eyebrow{display:inline-block;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.17);border-radius:999px;padding:7px 11px;font-size:12px;font-weight:850;margin-bottom:13px}
.hero h1{font-size:31px;line-height:1.14;letter-spacing:-.7px;font-weight:950;margin-bottom:12px;max-width:680px}
.hero h1 span{color:#9fc5ff}
.hero-sub{font-size:15px;color:rgba(255,255,255,.9);max-width:660px;margin-bottom:16px}
.benefits{display:grid;grid-template-columns:1fr;gap:8px;font-size:13px;margin-bottom:14px}
.chips{display:flex;flex-wrap:wrap;gap:7px}
.chips span{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.17);border-radius:9px;padding:6px 9px;font-size:11.5px;font-weight:800}
.note{font-size:11.5px;color:rgba(255,255,255,.68);margin-top:9px}

/* ---------- Thẻ form ---------- */
.card{background:#fff;color:var(--dark);border-radius:22px;overflow:hidden;box-shadow:0 20px 62px rgba(0,0,0,.28)}
.showcase{height:220px;display:grid;grid-template-columns:1.45fr .75fr;grid-template-rows:1fr 1fr;gap:4px;position:relative;background:#e9eef6}
.showcase .main{grid-row:1/3}
.showcase img{width:100%;height:100%;object-fit:cover;display:block}
.photo-tag,.photo-count{position:absolute;z-index:2;border-radius:999px;font-weight:900}
.photo-tag{left:11px;top:11px;background:rgba(255,255,255,.96);color:#067647;padding:6px 9px;font-size:10.5px}
.photo-count{right:10px;bottom:10px;background:rgba(16,24,40,.8);color:#fff;padding:6px 9px;font-size:10.5px}
.lead{padding:20px;border-top:1px solid #eef1f5}
.lead h2{font-size:20px;line-height:1.25;font-weight:950;margin-bottom:6px}
.desc{font-size:12.5px;color:var(--muted);margin-bottom:15px}
.types{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:15px}
.type{min-height:44px;border:1.5px solid var(--border);background:#fff;border-radius:11px;font-size:12px;font-weight:850;color:#344054;cursor:pointer}
.type.active{border-color:var(--blue);background:#eef4ff;color:var(--blue)}
.group{margin-bottom:14px}
.group label{display:block;font-size:11.5px;font-weight:850;margin-bottom:6px;color:#344054}
.group input,.group select{width:100%;min-height:52px;border:1.5px solid var(--border);border-radius:12px;padding:13px 14px;font-size:15px;background:#fff}
.group input:focus,.group select:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(11,99,246,.09)}
.js-phone{font-size:17px;font-weight:800}
.micro{text-align:center;color:var(--muted);font-size:10.8px;margin-top:10px}
.or{display:flex;align-items:center;gap:8px;color:#98a2b3;font-size:10.5px;margin:12px 0}
.or:before,.or:after{content:"";height:1px;background:var(--border);flex:1}
.dual{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.status{display:none;margin-top:10px;padding:10px;border-radius:10px;text-align:center;font-size:12.5px;font-weight:750}

/* ---------- Dải tin cậy ---------- */
.trust{border-bottom:1px solid var(--border)}
.trust-grid{display:grid;grid-template-columns:1fr 1fr;padding:11px 0}
.trust-item{text-align:center;padding:8px 7px;font-size:11.5px;color:var(--muted)}
.trust-item strong{display:block;color:var(--dark);font-size:13.5px;font-weight:900}
.trust-item small{display:block;font-size:10px}

/* ---------- Khối nội dung ---------- */
.section{padding:38px 0}
.alt{background:var(--light)}
.title{text-align:center;font-size:25px;line-height:1.2;font-weight:950;margin-bottom:7px}
.sub{text-align:center;color:var(--muted);font-size:14px;max-width:720px;margin:0 auto 20px}
.prose{max-width:780px;margin:0 auto}
.prose p{font-size:14.5px;color:#344054;margin-bottom:12px}
.prose h3{font-size:16px;font-weight:900;margin:20px 0 8px}
.prose ul{padding-left:20px;margin-bottom:14px}
.prose li{font-size:14.5px;color:#344054;margin-bottom:7px}

/* ---------- Bảng giá ---------- */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--border);border-radius:14px}
table.pricing{width:100%;min-width:520px;border-collapse:collapse;background:#fff}
table.pricing th,table.pricing td{padding:12px 14px;text-align:left;font-size:14px;border-bottom:1px solid var(--border)}
table.pricing th{background:var(--light);font-weight:900;font-size:12.5px;text-transform:uppercase;letter-spacing:.3px;color:#475467}
table.pricing tr:last-child td{border-bottom:0}
table.pricing td:first-child{font-weight:850}
.table-note{font-size:12.5px;color:var(--muted);margin-top:10px;text-align:center}

/* ---------- Danh sách tòa / phân khu ---------- */
.toa-list{list-style:none;display:grid;grid-template-columns:1fr;gap:9px;margin-top:14px}
.toa-list a{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--border);border-radius:12px;padding:13px 15px;font-size:14px;font-weight:800;background:#fff}
.toa-list a:after{content:"→";color:var(--blue);font-weight:900}

/* ---------- FAQ ---------- */
.faq{display:grid;grid-template-columns:1fr;gap:10px;max-width:820px;margin:0 auto}
.faq-item{border:1px solid var(--border);border-radius:14px;padding:16px 18px;background:#fff}
.faq-item h3{font-size:15px;font-weight:900;margin-bottom:7px}
.faq-item p{font-size:14px;color:#475467;margin-bottom:8px}
.faq-item p:last-child{margin-bottom:0}

/* ---------- Thư viện ảnh ---------- */
.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
.gallery-item{position:relative;border-radius:15px;overflow:hidden;aspect-ratio:4/3;background:#e9eef6}
.gallery-item img{width:100%;height:100%;object-fit:cover;display:block;transition:.2s}
.gallery-item:hover img{transform:scale(1.025)}
.gallery-item:after{content:"";position:absolute;inset:auto 0 0;height:52%;background:linear-gradient(transparent,rgba(0,0,0,.7))}
.cap{position:absolute;left:10px;right:10px;bottom:9px;z-index:2;color:#fff;font-size:12px;font-weight:850}
/* thư viện 2 cột trên mobile: ảnh lẻ cuối cùng trải hết chiều ngang */
@media(max-width:679px){.gallery-item:last-child:nth-child(odd){grid-column:1/-1;aspect-ratio:16/9}}
.lock{margin-top:12px;background:#101828;color:#fff;border-radius:16px;padding:18px;display:flex;gap:14px;align-items:center;justify-content:space-between;flex-direction:column;text-align:center}
.lock strong{font-size:16px}
.lock p{font-size:12px;color:rgba(255,255,255,.72);margin-top:3px}
.lock-actions{display:flex;flex-direction:column;gap:8px;width:100%}

/* ---------- Lý do ---------- */
.why{display:grid;grid-template-columns:1fr;gap:10px}
.why>div{border:1px solid var(--border);border-radius:15px;padding:15px;background:#fff}
.why h3{font-size:14px;font-weight:900;margin:4px 0}
.why p{font-size:12.5px;color:var(--muted)}

/* ---------- Khu vực khác (liên kết nội bộ) ---------- */
.areas{display:grid;grid-template-columns:1fr;gap:10px;max-width:900px;margin:0 auto}
.areas a{border:1px solid var(--border);border-radius:14px;padding:15px 17px;background:#fff;display:block}
.areas strong{display:block;font-size:15px;font-weight:900;margin-bottom:4px}
.areas span{font-size:13px;color:var(--muted)}

/* ---------- CTA ---------- */
.cta{border-radius:20px;background:#101828;color:#fff;padding:24px;text-align:center}
.cta h2{font-size:22px;font-weight:950}
.cta p{font-size:13px;color:rgba(255,255,255,.76);margin:6px 0 14px}
.cta-actions{display:flex;gap:8px;flex-direction:column}

/* ---------- Footer ---------- */
footer{background:#101828;color:rgba(255,255,255,.68);padding:28px 0 94px;text-align:center;font-size:12px}
footer strong{color:#fff}
footer a{color:#a8c8ff}
.footer-nav{margin-top:10px;line-height:2}
.disclaimer{font-size:13px;line-height:1.6;color:#98a2b3;max-width:720px;margin:24px auto 0;padding-top:18px;border-top:1px solid rgba(255,255,255,.12)}

/* ---------- Thanh CTA cố định trên mobile ---------- */
.sticky{
  position:fixed;left:0;right:0;bottom:0;z-index:90;background:#fff;
  border-top:1px solid var(--border);box-shadow:0 -5px 20px rgba(0,0,0,.08);
  padding:7px 10px calc(7px + env(safe-area-inset-bottom));
  display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:7px;transition:.18s;
}
.sticky .btn{min-height:46px;font-size:12.5px;padding:8px 6px;border-radius:11px}
.sticky.sticky-two{grid-template-columns:1fr 1fr}
.sticky.hide{transform:translateY(120%);opacity:0;pointer-events:none}

/* ---------- Responsive ---------- */
@media(min-width:680px){
  .benefits{grid-template-columns:1fr 1fr}
  .gallery{grid-template-columns:repeat(3,1fr)}
  .why{grid-template-columns:repeat(3,1fr)}
  .toa-list{grid-template-columns:1fr 1fr}
  .faq{grid-template-columns:1fr 1fr}
  .areas{grid-template-columns:repeat(3,1fr)}
  .lock{flex-direction:row;text-align:left}
  .lock-actions{width:auto;min-width:270px}
  .lock-actions .btn{min-width:270px}
  .cta-actions{flex-direction:row;justify-content:center}
  .cta-actions .btn{min-width:200px}
}
@media(min-width:860px){
  .hero-grid{grid-template-columns:1.08fr .92fr;align-items:center;gap:38px;padding:48px 0}
  .hero h1{font-size:43px}
  .hero-sub{font-size:17px}
  .showcase{height:235px}
  .trust-grid{grid-template-columns:repeat(4,1fr)}
  .trust-item{border-right:1px solid var(--border)}
  .trust-item:last-child{border:0}
  .sticky{display:none}
  footer{padding-bottom:30px}
}
@media(max-width:560px){
  .hero:after{background:linear-gradient(180deg,rgba(6,13,27,.9),rgba(6,13,27,.78) 55%,rgba(6,13,27,.58))}
  .hero-grid{gap:18px;padding:24px 0 28px}
  .hero h1{font-size:28px}
  .showcase{height:158px}
  .lead{padding:20px 18px 22px}
  .types{gap:8px}
  .type{min-height:46px;font-size:13px}
  .group input,.group select{min-height:54px;font-size:16px}
  .section{padding:32px 0}
  .title{font-size:22px}
}

/* ---------- Trang phụ (cảm ơn, điều khoản) ---------- */
.pagehead{background:#0b1220;color:#fff;padding:26px 0}
.pagehead h1{font-size:26px;font-weight:950;line-height:1.25}
.pagehead p{font-size:13.5px;color:rgba(255,255,255,.72);margin-top:6px;max-width:640px}
.prose h2{font-size:19px;font-weight:900;margin:26px 0 9px}
.prose ol{padding-left:20px;margin-bottom:14px}
.prose ol li{font-size:14.5px;color:#344054;margin-bottom:7px}
.panel{max-width:640px;margin:0 auto;border:1px solid var(--border);border-radius:18px;padding:26px 22px;text-align:center;background:#fff}
.panel h2{font-size:20px;font-weight:950;margin-bottom:8px}
.panel p{font-size:14.5px;color:#475467;margin-bottom:16px}
.panel .cta-actions{margin-top:4px}
body[data-page="cam-on"] footer,
body[data-page="dieu-khoan"] footer{padding-bottom:30px}
