/* ============ CÔNG TY TNHH DỊCH VỤ MÔI TRƯỜNG HÀ BẮC ============ */
:root {
  --navy: #0B3B82;
  --blue: #087ED1;
  --blue-light: #EAF6FF;
  --green: #2E9B63;
  --white: #FFFFFF;
  --gray: #475569;
  --bg: #F7FAFC;
  --footer: #082B5C;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(8, 59, 130, 0.08);
  --shadow-lg: 0 14px 40px rgba(8, 59, 130, 0.14);
  --font: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font); color: var(--gray); background: var(--white); line-height: 1.65; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1,h2,h3,h4 { color: var(--navy); line-height: 1.25; font-weight: 700; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 50px; font-weight: 600; font-size: 15px; font-family: var(--font); cursor: pointer; border: 2px solid transparent; transition: all .25s ease; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; box-shadow: 0 6px 18px rgba(8,126,209,.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(8,126,209,.42); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #257e50; transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ============ HEADER ============ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(8,59,130,.08); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(8,59,130,.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 44px; height: 44px; flex-shrink: 0; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-img { height: 48px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { color: var(--navy); font-size: 20px; font-weight: 800; letter-spacing: .5px; }
.logo-text small { color: var(--blue); font-size: 10.5px; font-weight: 600; letter-spacing: 1.6px; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--navy); transition: all .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); background: var(--blue-light); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-cta { padding: 11px 20px; font-size: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { padding: 140px 0 60px; background: linear-gradient(160deg, var(--blue-light) 0%, #fff 55%, var(--blue-light) 100%); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -180px; right: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(8,126,209,.14), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-light); color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; padding: 8px 18px; border-radius: 50px; margin-bottom: 20px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero h1 { font-size: 52px; font-weight: 800; letter-spacing: -.5px; }
.hero h1 .accent { display: block; background: linear-gradient(90deg, var(--blue), var(--green)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: 30px; margin-top: 8px; }
.hero-desc { font-size: 18px; margin: 22px 0 30px; max-width: 520px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { position: relative; }
.hero-img .img-wrap { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.hero-img img { width: 100%; height: 460px; object-fit: cover; }
.hero-img::after { content: ''; position: absolute; bottom: -26px; left: -26px; width: 160px; height: 160px; border-radius: 32px; background: linear-gradient(135deg, var(--blue), var(--green)); opacity: .16; z-index: -1; }
.hero-badge { position: absolute; bottom: 24px; left: -20px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px 20px; display: flex; align-items: center; gap: 12px; }
.hero-badge .num { font-size: 26px; font-weight: 800; color: var(--blue); }
.hero-badge .lbl { font-size: 13px; font-weight: 600; color: var(--gray); }

/* Hero features */
.hero-features { margin-top: 52px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.hf-item { background: #fff; border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; transition: transform .25s; }
.hf-item:hover { transform: translateY(-4px); }
.hf-item .ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 13px; background: var(--blue-light); color: var(--blue); display: grid; place-items: center; }
.hf-item .ico svg { width: 24px; height: 24px; }
.hf-item strong { color: var(--navy); font-size: 14px; line-height: 1.35; display: block; }

/* ============ SECTIONS ============ */
.section { padding: 84px 0; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: 36px; font-weight: 800; }
.section-head p { margin-top: 12px; font-size: 17px; }

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: 24px; box-shadow: var(--shadow-lg); width: 100%; height: 440px; object-fit: cover; }
.about-img::before { content: ''; position: absolute; top: -20px; left: -20px; width: 120px; height: 120px; border-radius: 24px; background: linear-gradient(135deg, var(--green), var(--blue)); opacity: .18; z-index: 0; }
.about-content h2 { font-size: 34px; margin-bottom: 8px; }
.about-content .sub { color: var(--blue); font-weight: 600; font-size: 17px; margin-bottom: 18px; }
.about-points { margin: 22px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; list-style: none; }
.about-points li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--navy); font-size: 15px; }
.about-points li::before { content: '✓'; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: var(--green); color: #fff; font-size: 12px; display: grid; place-items: center; font-weight: 700; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.stat-item { background: var(--blue-light); border-radius: 16px; padding: 20px 12px; text-align: center; }
.stat-item .num { font-size: 30px; font-weight: 800; color: var(--blue); }
.stat-item .lbl { font-size: 13px; font-weight: 600; margin-top: 2px; }

/* ============ SERVICES ============ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .3s ease; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .thumb { position: relative; height: 200px; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .thumb img { transform: scale(1.07); }
.service-card .ico { position: absolute; bottom: -24px; left: 22px; width: 52px; height: 52px; border-radius: 15px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(8,126,209,.4); }
.service-card .ico svg { width: 26px; height: 26px; }
.service-card .body { padding: 38px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 18.5px; margin-bottom: 10px; }
.service-card h3 a:hover { color: var(--blue); }
.service-card p { font-size: 14.5px; flex: 1; }
.service-card .more { margin-top: 16px; color: var(--blue); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.service-card .more:hover { gap: 10px; }

/* ============ PROCESS ============ */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 34px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 16px); opacity: .35; }
.process-step { text-align: center; position: relative; }
.process-step .num { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue); font-size: 22px; font-weight: 800; display: grid; place-items: center; position: relative; z-index: 1; transition: all .3s; }
.process-step:hover .num { background: var(--blue); color: #fff; transform: scale(1.08); }
.process-step h3 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; }

/* ============ WHY US ============ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); transition: all .3s; border-top: 3px solid transparent; }
.why-card:hover { transform: translateY(-5px); border-top-color: var(--green); box-shadow: var(--shadow-lg); }
.why-card .ico { width: 54px; height: 54px; border-radius: 15px; background: var(--blue-light); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.why-card .ico svg { width: 27px; height: 27px; }
.why-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.why-card p { font-size: 14.5px; }

/* ============ PROJECTS ============ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-bar button, .filter-bar a { padding: 9px 20px; border-radius: 50px; border: 1.5px solid #dbe7f3; background: #fff; color: var(--navy); font-weight: 600; font-size: 13.5px; cursor: pointer; font-family: var(--font); transition: all .2s; }
.filter-bar .active, .filter-bar button:hover, .filter-bar a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .3s; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card .thumb { position: relative; height: 230px; overflow: hidden; }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover .thumb img { transform: scale(1.08); }
.project-card .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8,59,130,.82)); opacity: 0; transition: opacity .35s; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 26px; }
.project-card:hover .overlay { opacity: 1; }
.project-card .cat-badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.94); color: var(--blue); font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 50px; z-index: 1; }
.project-card .body { padding: 22px; }
.project-card h3 { font-size: 18px; margin-bottom: 6px; }
.project-card h3 a:hover { color: var(--blue); }
.project-card .loc { font-size: 13.5px; color: var(--blue); font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 5px; }
.project-card p { font-size: 14px; }

/* ============ TESTIMONIALS ============ */
.testi-slider { position: relative; overflow: hidden; }
.testi-track { display: flex; transition: transform .5s ease; }
.testi-item { flex: 0 0 100%; padding: 10px; }
.testi-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 40px; max-width: 720px; margin: 0 auto; text-align: center; }
.testi-stars { color: #F5A623; font-size: 20px; letter-spacing: 3px; margin-bottom: 16px; }
.testi-card blockquote { font-size: 17px; font-style: italic; color: var(--gray); margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testi-author img, .testi-avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; }
.testi-author strong { display: block; color: var(--navy); }
.testi-author small { color: var(--blue); font-weight: 500; }
.testi-nav { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.testi-dot { width: 10px; height: 10px; border-radius: 50%; background: #cbdcef; border: 0; cursor: pointer; transition: all .25s; }
.testi-dot.active { background: var(--blue); width: 28px; border-radius: 6px; }

/* ============ PRICING ============ */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.price-card { background: #fff; border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: all .3s; border: 2px solid transparent; }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.price-card.highlight { border-color: var(--blue); position: relative; }
.price-card.highlight::before { content: 'PHỔ BIẾN'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 16px; border-radius: 50px; letter-spacing: 1px; }
.price-card h3 { font-size: 19px; margin-bottom: 6px; }
.price-card .desc { font-size: 13.5px; margin-bottom: 16px; }
.price-card .price { font-size: 16px; font-weight: 700; color: var(--blue); margin-bottom: 18px; padding: 12px; background: var(--blue-light); border-radius: 12px; text-align: center; }
.price-card ul { list-style: none; flex: 1; margin-bottom: 22px; }
.price-card ul li { padding: 7px 0; font-size: 14px; display: flex; gap: 9px; align-items: center; }
.price-card ul li::before { content: '✓'; color: var(--green); font-weight: 800; }
.price-card .btn { width: 100%; }

/* ============ CTA BANNER ============ */
.cta-banner { background: linear-gradient(120deg, var(--navy), var(--blue) 70%, #0a9be0); border-radius: 28px; padding: 64px 48px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -80px; right: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta-banner::after { content: ''; position: absolute; bottom: -100px; left: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.06); }
.cta-banner h2 { color: #fff; font-size: 34px; margin-bottom: 14px; position: relative; }
.cta-banner p { font-size: 17px; opacity: .92; margin-bottom: 30px; position: relative; }
.cta-banner .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ============ CONTACT FORM ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 32px; margin-bottom: 14px; }
.contact-info ul { list-style: none; margin: 24px 0; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; font-size: 16px; }
.contact-info li strong { color: var(--navy); }
.contact-info .ci-ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--blue-light); display: grid; place-items: center; font-size: 19px; }
.contact-form { background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 38px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; color: var(--navy); font-size: 14px; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid #dbe7f3; border-radius: 12px; font-family: var(--font); font-size: 15px; color: var(--gray); background: var(--bg); transition: all .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(8,126,209,.12); }
.form-success { background: #e8f7ef; border: 1.5px solid var(--green); color: #1d6b43; padding: 16px 20px; border-radius: 14px; margin-bottom: 20px; font-weight: 600; }

/* ============ NEWS ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .3s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-card .thumb { height: 200px; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .thumb img { transform: scale(1.06); }
.news-card .body { padding: 22px; }
.news-card .meta { font-size: 12.5px; color: var(--blue); font-weight: 600; margin-bottom: 8px; }
.news-card h3 { font-size: 17px; margin-bottom: 8px; }
.news-card h3 a:hover { color: var(--blue); }
.news-card p { font-size: 14px; }

/* ============ PAGE HERO / BREADCRUMB ============ */
.page-hero { padding: 130px 0 50px; background: linear-gradient(150deg, var(--blue-light), #fff); }
.page-hero h1 { font-size: 38px; }
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; margin-bottom: 14px; color: var(--gray); }
.breadcrumb a { color: var(--blue); font-weight: 600; }
.breadcrumb span::before { content: '›'; margin-right: 8px; opacity: .6; }

/* ============ DETAIL PAGES ============ */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.detail-main .feature-img { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 30px; }
.detail-main .feature-img img { width: 100%; max-height: 480px; object-fit: cover; }
.rich-content { font-size: 16px; }
.rich-content h2 { font-size: 26px; margin: 28px 0 14px; }
.rich-content h3 { font-size: 20px; margin: 22px 0 10px; }
.rich-content p { margin-bottom: 14px; }
.rich-content ul, .rich-content ol { margin: 0 0 16px 24px; }
.rich-content img { border-radius: 14px; margin: 12px 0; }
.rich-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.rich-content table td, .rich-content table th { border: 1px solid #dbe7f3; padding: 10px 14px; }
.sidebar-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; margin-bottom: 24px; }
.sidebar-card h3 { font-size: 18px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--blue-light); }
.sidebar-card ul { list-style: none; }
.sidebar-card ul li { padding: 8px 0; border-bottom: 1px dashed #e6eef7; font-size: 14.5px; }
.sidebar-card ul li:last-child { border: none; }
.sidebar-card ul li a:hover { color: var(--blue); }
.sidebar-cta { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; text-align: center; }
.sidebar-cta h3 { color: #fff; border-color: rgba(255,255,255,.2); }
.sidebar-cta p { font-size: 14px; opacity: .9; margin-bottom: 18px; }
.info-table { width: 100%; font-size: 14.5px; }
.info-table td { padding: 9px 0; border-bottom: 1px dashed #e6eef7; }
.info-table td:first-child { font-weight: 600; color: var(--navy); width: 46%; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { background: var(--blue-light); color: var(--blue); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 50px; transition: all .2s; }
.tag-list a:hover { background: var(--blue); color: #fff; }

/* Process steps in detail */
.steps-list { list-style: none; counter-reset: step; margin: 16px 0; }
.steps-list li { counter-increment: step; display: flex; gap: 16px; padding: 12px 0; align-items: flex-start; }
.steps-list li::before { content: counter(step, decimal-leading-zero); width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--blue-light); color: var(--blue); font-weight: 800; display: grid; place-items: center; }

/* FAQ */
.faq-item { border: 1.5px solid #e6eef7; border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 16px 20px; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--blue); transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 20px 16px; font-size: 15px; }

/* ============ GALLERY & LIGHTBOX ============ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
.gallery-grid a { border-radius: 14px; overflow: hidden; display: block; position: relative; }
.gallery-grid img { width: 100%; height: 180px; object-fit: cover; transition: transform .4s; }
.gallery-grid a:hover img { transform: scale(1.07); }
.lightbox { position: fixed; inset: 0; background: rgba(4,20,44,.92); z-index: 300; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 12px; }
.lightbox-close { position: absolute; top: 20px; right: 28px; background: none; border: 0; color: #fff; font-size: 38px; cursor: pointer; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.14); border: 0; color: #fff; font-size: 26px; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; transition: background .2s; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { left: 24px; } .lightbox-next { right: 24px; }

/* ============ BEFORE / AFTER ============ */
.ba-wrap { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; margin: 24px 0; }
.ba-wrap img { width: 100%; height: 420px; object-fit: cover; display: block; pointer-events: none; }
.ba-after { position: absolute; inset: 0; overflow: hidden; }
.ba-after img { height: 420px; }
.ba-handle { position: absolute; top: 0; bottom: 0; width: 4px; background: #fff; cursor: ew-resize; box-shadow: 0 0 12px rgba(0,0,0,.4); }
.ba-handle::after { content: '⟷'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--blue); font-size: 19px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.ba-label { position: absolute; top: 16px; padding: 6px 16px; border-radius: 50px; font-size: 12.5px; font-weight: 700; color: #fff; letter-spacing: 1px; z-index: 2; }
.ba-label.before { left: 16px; background: rgba(11,59,130,.85); }
.ba-label.after { right: 16px; background: rgba(46,155,99,.9); }

/* ============ FOOTER ============ */
.site-footer { background: var(--footer); color: #b9cbe4; padding: 64px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.footer-col h3 { color: #fff; font-size: 17px; margin-bottom: 12px; line-height: 1.4; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-slogan { font-style: italic; color: #8db3e2; margin-bottom: 18px; font-size: 14.5px; }
.footer-contact, .footer-menu { list-style: none; }
.footer-contact li, .footer-menu li { padding: 6px 0; font-size: 14.5px; }
.footer-menu a:hover, .footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; text-align: center; font-size: 13.5px; }

/* ============ FLOATING ============ */
.floating-contact { position: fixed; right: 22px; bottom: 90px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .25s; }
.float-btn:hover { transform: scale(1.1); }
.float-btn svg { width: 26px; height: 26px; }
.float-call { background: var(--green); animation: pulse-ring 2s infinite; }
.float-zalo { background: #0068ff; }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(46,155,99,.5); } 70% { box-shadow: 0 0 0 16px rgba(46,155,99,0); } 100% { box-shadow: 0 0 0 0 rgba(46,155,99,0); } }
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95; background: #fff; box-shadow: 0 -4px 16px rgba(8,59,130,.12); }
.mobile-bar a { flex: 1; text-align: center; padding: 13px 6px; font-size: 13.5px; font-weight: 700; color: var(--navy); border-right: 1px solid #eef4fa; }
.mobile-bar a:last-child { border: none; }
.mobile-bar a:first-child { color: var(--green); }

/* ============ ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============ PAGINATION ============ */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; }
.pagination a, .pagination span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #fff; box-shadow: var(--shadow); font-weight: 600; font-size: 14px; }
.pagination .current { background: var(--blue); color: #fff; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero h1 { font-size: 42px; }
  .hero h1 .accent { font-size: 24px; }
  .services-grid, .projects-grid, .news-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .process-grid::before { display: none; }
  .hero-features { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav a { padding: 9px 9px; font-size: 13.5px; }
}
@media (max-width: 768px) {
  html { scroll-padding-top: 76px; }
  .main-nav { position: fixed; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 20px 24px; box-shadow: 0 16px 30px rgba(8,59,130,.14); transform: translateY(-130%); transition: transform .35s ease; z-index: 99; }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 13px 16px; font-size: 15.5px; border-bottom: 1px solid #f0f5fa; border-radius: 0; }
  .nav-toggle { display: flex; }
  .btn-cta span { display: none; }
  .btn-cta { padding: 11px 13px; border-radius: 50%; }
  .hero { padding: 110px 0 44px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 32px; }
  .hero h1 .accent { font-size: 19px; }
  .hero-desc { font-size: 16px; }
  .hero-img img { height: 300px; }
  .hero-badge { left: 12px; bottom: 12px; }
  .hero-btns .btn { flex: 1; min-width: 150px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 27px; }
  .about-img img { height: 300px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .projects-grid, .news-grid, .why-grid, .pricing-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .hero-features { grid-template-columns: 1fr; gap: 12px; }
  .cta-banner { padding: 44px 24px; border-radius: 20px; }
  .cta-banner h2 { font-size: 25px; }
  .cta-banner .btns .btn { width: 100%; }
  .contact-form { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 50px; }
  .floating-contact { bottom: 68px; right: 14px; }
  .float-btn { width: 48px; height: 48px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid img { height: 130px; }
  .ba-wrap img, .ba-after img { height: 260px; }
  .page-hero { padding: 104px 0 36px; }
  .page-hero h1 { font-size: 27px; }
  .about-points { grid-template-columns: 1fr; }
  .testi-card { padding: 28px 20px; }
}
