/* ===== CÔNG TY TNHH HIỆP NHẤT — Style ===== */
/* Color: #FF6B00 (Cam), #FFF, #F8F9FA, #212529 */
:root {
    --primary: #FF6B00;
    --primary-dark: #CC5500;
    --primary-light: #FFF0E5;
    --white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #1B1B2F;
    --text: #212529;
    --text-light: #6C757D;
    --text-muted: #ADB5BD;
    --border: #E9ECEF;
    --shadow: 0 2px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s ease;
}

/* === RESET === */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:var(--font); color:var(--text); line-height:1.7; background:var(--white); }
a { text-decoration:none; color:inherit; transition:var(--transition); }
ul { list-style:none; }
img { max-width:100%; height:auto; }
.container { max-width:1200px; margin:0 auto; padding:0 20px; }
.text--orange { color:var(--primary); }
.btn { display:inline-flex; align-items:center; gap:8px; padding:12px 28px; font-size:15px; font-weight:600; border-radius:50px; border:2px solid transparent; cursor:pointer; transition:var(--transition); }
.btn--primary { background:var(--primary); color:var(--white); border-color:var(--primary); }
.btn--primary:hover { background:var(--primary-dark); border-color:var(--primary-dark); transform:translateY(-2px); box-shadow:0 8px 25px rgba(255,107,0,0.35); }
.btn--outline { background:transparent; color:var(--white); border-color:var(--white); }
.btn--outline:hover { background:var(--white); color:var(--primary); }
.btn--ghost { background:transparent; color:var(--text); border-color:transparent; }
.btn--ghost:hover { color:var(--primary); }
.btn--lg { padding:16px 36px; font-size:16px; }
.section { padding:100px 0; }
.section__header { text-align:center; max-width:700px; margin:0 auto 60px; }
.section__tag { display:inline-block; background:var(--primary-light); color:var(--primary); padding:6px 18px; border-radius:50px; font-size:13px; font-weight:600; margin-bottom:15px; }
.section__title { font-size:40px; font-weight:800; line-height:1.2; margin-bottom:15px; color:var(--text); }
.section__desc { color:var(--text-light); font-size:17px; }
.section__footer { text-align:center; margin-top:50px; }
.section__footer .btn--outline { border-color:var(--primary); color:var(--primary); }
.section__footer .btn--outline:hover { background:var(--primary); color:var(--white); }

/* === HEADER === */
.header { position:fixed; top:0; left:0; right:0; z-index:1000; background:rgba(255,255,255,0.95); backdrop-filter:blur(20px); border-bottom:1px solid var(--border); transition:var(--transition); }
.header--scrolled { box-shadow:0 4px 30px rgba(0,0,0,0.08); }
.header__inner { display:flex; align-items:center; justify-content:space-between; height:75px; }
.logo { display:flex; align-items:center; gap:10px; font-weight:800; font-size:22px; }
.logo__icon { color:var(--primary); font-size:28px; }
.logo__text { background:linear-gradient(135deg,var(--primary),#FF9A3C); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }

/* NAV */
.nav__list { display:flex; gap:5px; }
.nav__link { padding:10px 18px; font-size:14px; font-weight:500; border-radius:8px; color:var(--text); position:relative; }
.nav__link:hover, .nav__link--active { color:var(--primary); background:var(--primary-light); }
.nav__dropdown { position:relative; }
.dropdown__menu { position:absolute; top:100%; left:0; min-width:280px; background:var(--white); border-radius:var(--radius); box-shadow:var(--shadow-lg); padding:10px 0; opacity:0; visibility:hidden; transform:translateY(10px); transition:var(--transition); }
.nav__dropdown:hover .dropdown__menu { opacity:1; visibility:visible; transform:translateY(0); }
.dropdown__menu li a { display:block; padding:10px 24px; font-size:14px; color:var(--text); }
.dropdown__menu li a:hover { background:var(--primary-light); color:var(--primary); }
.nav__toggle { display:none; background:none; border:none; font-size:24px; color:var(--text); cursor:pointer; }

/* === HERO === */
.hero { position:relative; min-height:100vh; display:flex; align-items:center; background:linear-gradient(135deg, #1B1B2F 0%, #2D2D44 50%, #1B1B2F 100%); overflow:hidden; padding-top:75px; }
.hero__overlay { position:absolute; inset:0; background:url("data:image/svg+xml,%3Csvg viewBox='0 0 800 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E"); opacity:0.4; }
.hero__inner { position:relative; z-index:2; display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.hero__badge { display:inline-block; background:rgba(255,107,0,0.15); border:1px solid rgba(255,107,0,0.3); color:var(--primary); padding:6px 18px; border-radius:50px; font-size:13px; font-weight:600; margin-bottom:20px; }
.hero__title { font-size:52px; font-weight:800; line-height:1.15; color:var(--white); margin-bottom:20px; }
.hero__desc { font-size:18px; color:rgba(255,255,255,0.7); max-width:520px; margin-bottom:35px; line-height:1.7; }
.hero__actions { display:flex; gap:16px; flex-wrap:wrap; }
.hero__visual { position:relative; height:500px; display:flex; align-items:center; justify-content:center; }
.hero__shape { position:absolute; border-radius:50%; }
.hero__shape--1 { width:400px; height:400px; background:radial-gradient(circle, rgba(255,107,0,0.3) 0%, transparent 70%); top:50%; left:50%; transform:translate(-50%,-50%); animation:pulse 4s ease-in-out infinite; }
.hero__shape--2 { width:300px; height:300px; border:2px solid rgba(255,107,0,0.2); top:50%; left:50%; transform:translate(-50%,-50%); animation:pulse 4s ease-in-out 1s infinite; }
.hero__shape--3 { width:200px; height:200px; border:1px solid rgba(255,107,0,0.15); top:50%; left:50%; transform:translate(-50%,-50%); animation:pulse 4s ease-in-out 2s infinite; }
@keyframes pulse { 0%,100%{transform:translate(-50%,-50%) scale(1)} 50%{transform:translate(-50%,-50%) scale(1.1)} }
.hero__icon-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; position:relative; z-index:3; }
.hero__icon-box { width:100px; height:100px; background:rgba(255,255,255,0.08); backdrop-filter:blur(10px); border:1px solid rgba(255,255,255,0.12); border-radius:20px; display:flex; align-items:center; justify-content:center; font-size:36px; color:var(--primary); transition:var(--transition); }
.hero__icon-box:hover { background:rgba(255,107,0,0.2); transform:translateY(-5px); }
.hero__wave { position:absolute; bottom:-2px; left:0; right:0; z-index:2; }
.hero__wave svg { display:block; width:100%; height:100px; }

/* === PARTNER STRIP === */
.partner-strip { background:var(--bg-light); padding:25px 0; border-bottom:1px solid var(--border); }
.partner-strip__inner { display:flex; align-items:center; gap:40px; justify-content:center; flex-wrap:wrap; }
.partner-strip__label { font-size:13px; font-weight:600; color:var(--text-light); text-transform:uppercase; letter-spacing:1px; }
.partner-strip__logos { display:flex; gap:30px; flex-wrap:wrap; }
.partner-strip__logos span { display:flex; align-items:center; gap:8px; color:var(--text-light); font-size:14px; padding:8px 16px; background:var(--white); border-radius:8px; border:1px solid var(--border); }

/* === SERVICES === */
.services { background:var(--white); }
.services__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.service-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:40px 30px; transition:var(--transition); position:relative; overflow:hidden; }
.service-card::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background:var(--primary); transform:scaleX(0); transition:var(--transition); }
.service-card:hover { transform:translateY(-8px); box-shadow:var(--shadow-lg); }
.service-card:hover::before { transform:scaleX(1); }
.service-card__icon { width:64px; height:64px; background:var(--primary-light); border-radius:16px; display:flex; align-items:center; justify-content:center; font-size:28px; color:var(--primary); margin-bottom:20px; }
.service-card__title { font-size:20px; font-weight:700; margin-bottom:12px; }
.service-card__desc { font-size:14px; color:var(--text-light); line-height:1.7; margin-bottom:20px; }
.service-card__link { font-size:14px; font-weight:600; color:var(--primary); display:inline-flex; align-items:center; gap:6px; }
.service-card__link:hover { gap:10px; }

/* === STATS === */
.stats { background:linear-gradient(135deg,var(--primary),#FF9A3C); }
.stats__grid { display:grid; grid-template-columns:repeat(4,1fr); gap:30px; text-align:center; }
.stat-item { }
.stat-item__num { font-size:48px; font-weight:800; color:var(--white); display:block; line-height:1; }
.stat-item__label { font-size:16px; color:rgba(255,255,255,0.85); margin-top:8px; display:block; }

/* === WHY US === */
.why-us { background:var(--bg-light); }
.why-us__grid { display:grid; grid-template-columns:repeat(4,1fr); gap:30px; }
.why-item { text-align:center; padding:40px 20px; }
.why-item__icon { width:72px; height:72px; background:var(--primary-light); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:30px; color:var(--primary); margin:0 auto 20px; }
.why-item h4 { font-size:18px; font-weight:700; margin-bottom:10px; }
.why-item p { font-size:14px; color:var(--text-light); }

/* === NEWS === */
.latest-news { background:var(--white); }
.news__grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:30px; }
.news-card { border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; transition:var(--transition); }
.news-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.news-card--featured { grid-row:span 2; }
.news-card__img { height:200px; display:flex; align-items:center; justify-content:center; font-size:48px; color:rgba(255,255,255,0.3); }
.news-card--featured .news-card__img { height:280px; font-size:64px; }
.news-card__body { padding:24px; }
.news-card__tag { display:inline-block; background:var(--primary-light); color:var(--primary); padding:4px 14px; border-radius:50px; font-size:12px; font-weight:600; margin-bottom:12px; }
.news-card__title { font-size:18px; font-weight:700; line-height:1.4; margin-bottom:10px; }
.news-card--featured .news-card__title { font-size:22px; }
.news-card__excerpt { font-size:14px; color:var(--text-light); margin-bottom:16px; }
.news-card__meta { display:flex; gap:16px; font-size:13px; color:var(--text-muted); }
.news-card__meta i { margin-right:4px; }

/* === CTA === */
.cta { background:var(--bg-dark); padding:80px 0; }
.cta__box { text-align:center; max-width:700px; margin:0 auto; }
.cta__title { font-size:36px; font-weight:800; color:var(--white); margin-bottom:16px; }
.cta__desc { font-size:17px; color:rgba(255,255,255,0.7); margin-bottom:35px; }
.cta__actions { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* === FOOTER === */
.footer { background:var(--bg-dark); border-top:1px solid rgba(255,255,255,0.08); }
.footer__grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:50px; padding:80px 0 40px; }
.footer__logo { font-size:22px; font-weight:800; color:var(--white); margin-bottom:16px; }
.footer__logo i { color:var(--primary); margin-right:6px; }
.footer__desc { font-size:14px; color:rgba(255,255,255,0.6); line-height:1.8; }
.footer__social { display:flex; gap:12px; margin-top:20px; }
.footer__social a { width:40px; height:40px; border:1px solid rgba(255,255,255,0.15); border-radius:10px; display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.5); transition:var(--transition); }
.footer__social a:hover { background:var(--primary); border-color:var(--primary); color:var(--white); }
.footer__col h4 { font-size:16px; font-weight:700; color:var(--white); margin-bottom:20px; }
.footer__col ul li { margin-bottom:10px; }
.footer__col ul li a { font-size:14px; color:rgba(255,255,255,0.5); }
.footer__col ul li a:hover { color:var(--primary); padding-left:4px; }
.footer__contact li { display:flex; align-items:center; gap:10px; font-size:14px; color:rgba(255,255,255,0.5); }
.footer__contact li i { color:var(--primary); width:16px; }
.footer__bottom { border-top:1px solid rgba(255,255,255,0.08); padding:20px 0; text-align:center; font-size:14px; color:rgba(255,255,255,0.4); }

/* === RESPONSIVE === */
@media(max-width:1024px) {
    .services__grid { grid-template-columns:repeat(2,1fr); }
    .news__grid { grid-template-columns:1fr 1fr; }
    .news-card--featured { grid-column:span 2; }
    .footer__grid { grid-template-columns:1fr 1fr; }
}
@media(max-width:768px) {
    .hero__inner { grid-template-columns:1fr; text-align:center; }
    .hero__desc { margin:0 auto 35px; }
    .hero__actions { justify-content:center; }
    .hero__visual { display:none; }
    .hero__title { font-size:36px; }
    .section { padding:60px 0; }
    .section__title { font-size:30px; }
    .services__grid { grid-template-columns:1fr; }
    .stats__grid { grid-template-columns:repeat(2,1fr); gap:20px; }
    .stat-item__num { font-size:36px; }
    .why-us__grid { grid-template-columns:1fr 1fr; }
    .news__grid { grid-template-columns:1fr; }
    .news-card--featured { grid-column:span 1; }
    .footer__grid { grid-template-columns:1fr; gap:30px; }
    .nav { display:none; position:fixed; top:75px; left:0; right:0; background:var(--white); padding:20px; border-bottom:1px solid var(--border); box-shadow:var(--shadow); }
    .nav--open { display:block; }
    .nav__list { flex-direction:column; }
    .dropdown__menu { position:static; box-shadow:none; border:1px solid var(--border); border-radius:8px; margin-top:5px; opacity:1; visibility:visible; transform:none; display:none; }
    .nav__dropdown:hover .dropdown__menu { display:block; }
    .nav__toggle { display:block; }
}
@media(max-width:480px) {
    .hero__title { font-size:28px; }
    .stats__grid { grid-template-columns:1fr 1fr; }
    .why-us__grid { grid-template-columns:1fr; }
}

/* === ADMIN DASHBOARD === */
.admin-layout { display:flex; min-height:100vh; padding-top:75px; }
.admin-sidebar { width:260px; background:#1B1B2F; padding:24px; flex-shrink:0; border-right:1px solid rgba(255,255,255,0.08); }
.admin-sidebar h3 { font-size:13px; color:rgba(255,255,255,0.4); text-transform:uppercase; letter-spacing:1px; margin:24px 0 12px 16px; }
.admin-sidebar a { display:flex; align-items:center; gap:12px; padding:10px 16px; border-radius:10px; color:rgba(255,255,255,0.6); font-size:14px; transition:0.2s; text-decoration:none; }
.admin-sidebar a:hover, .admin-sidebar a.active { background:rgba(255,107,0,0.15); color:#FF6B00; }
.admin-sidebar a i { width:20px; }
.admin-main { flex:1; background:#F8F9FA; padding:30px; }
.admin-main h2 { font-size:24px; font-weight:800; margin-bottom:6px; color:#212529; }
.admin-subtitle { color:#6C757D; font-size:14px; margin-bottom:24px; }
.admin-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:30px; }
.admin-stat { background:#fff; border-radius:12px; padding:24px; border:1px solid #E9ECEF; box-shadow:0 2px 8px rgba(0,0,0,0.04); }
.admin-stat__num { font-size:36px; font-weight:800; line-height:1; }
.admin-stat__label { font-size:13px; color:#6C757D; margin-top:6px; }
.admin-card { background:#fff; border-radius:12px; border:1px solid #E9ECEF; padding:24px; margin-bottom:24px; box-shadow:0 2px 8px rgba(0,0,0,0.04); }
.admin-card__title { display:flex; justify-content:space-between; align-items:center; font-size:16px; font-weight:700; margin-bottom:16px; padding-bottom:12px; border-bottom:1px solid #E9ECEF; }
.admin-table { width:100%; border-collapse:collapse; font-size:14px; background:#fff; border-radius:8px; }
.admin-table th { text-align:left; padding:10px 12px; border-bottom:2px solid #E9ECEF; color:#6C757D; font-weight:600; font-size:12px; text-transform:uppercase; letter-spacing:0.5px; }
.admin-table td { padding:12px; border-bottom:1px solid #E9ECEF; }
.admin-table tr:hover td { background:#F8F9FA; }
.badge { display:inline-block; padding:3px 12px; border-radius:50px; font-size:11px; font-weight:600; }
.badge--pending { background:#FFF3E0; color:#E65100; }
.badge--published { background:#E8F5E9; color:#2E7D32; }
.badge--draft { background:#F5F5F5; color:#757575; }
.badge--rejected { background:#FFEBEE; color:#C62828; }
.badge--active { background:#E8F5E9; color:#2E7D32; }
.badge--banned { background:#FFEBEE; color:#C62828; }
.admin-form label { display:block; font-size:14px; font-weight:600; margin-bottom:6px; color:#212529; }
.admin-form input, .admin-form select, .admin-form textarea { width:100%; padding:12px 14px; border:1px solid #E9ECEF; border-radius:8px; font-size:14px; font-family:inherit; margin-bottom:16px; transition:0.2s; background:#fff; }
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { outline:none; border-color:#FF6B00; box-shadow:0 0 0 3px rgba(255,107,0,0.1); }
.admin-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; }
.admin-header h2 { margin:0; }
.btn--sm { padding:8px 16px; font-size:13px; }
.btn--danger { background:#DC3545; color:#fff; border-color:#DC3545; }
.btn--danger:hover { background:#B02A37; }
.btn--success { background:#28A745; color:#fff; border-color:#28A745; }
.btn--success:hover { background:#1E7E34; }
.btn--warning { background:#FFC107; color:#212529; border-color:#FFC107; }
.btn--warning:hover { background:#E0A800; }
.admin-tabs { display:flex; gap:4px; margin-bottom:24px; background:#fff; border-radius:10px; padding:4px; border:1px solid #E9ECEF; }
.admin-tab { padding:8px 20px; border-radius:8px; font-size:14px; font-weight:500; cursor:pointer; text-decoration:none; color:#212529; }
.admin-tab:hover, .admin-tab--active { background:#FF6B00; color:#fff; }
.ql-editor { min-height:300px; }
.flash { position:fixed; top:90px; right:20px; z-index:9999; }

@media(max-width:768px) {
    .admin-layout { flex-direction:column; }
    .admin-sidebar { width:100%; border-right:none; border-bottom:1px solid rgba(255,255,255,0.08); padding:16px; }
    .admin-stats { grid-template-columns:1fr 1fr; }
    .admin-main { padding:16px; }
    .admin-header { flex-direction:column; gap:12px; align-items:flex-start; }
}
