﻿/* ===== Inox Website - Stylesheet =====
   Thiet ke: sach, chuyen nghiep, mobile-first, toc do cao.
   Bang mau: xanh cong nghiep + xam thep + cam CTA.
*/
:root{
  --primary:#0b4f8a;      /* xanh cong nghiep */
  --primary-dark:#083a66;
  --steel:#4a5568;        /* xam thep */
  --accent:#f26a1b;       /* cam CTA */
  --accent-dark:#d4560c;
  --bg:#ffffff;
  --bg-alt:#f5f7fa;
  --text:#1a202c;
  --text-muted:#5a6472;
  --border:#e2e8f0;
  --radius:10px;
  --shadow:0 4px 18px rgba(11,79,138,.10);
  --shadow-lg:0 10px 40px rgba(11,79,138,.16);
  --maxw:1180px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Segoe UI',system-ui,-apple-system,Roboto,Arial,sans-serif;
  color:var(--text);line-height:1.65;background:var(--bg);
  font-size:16px;-webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
/* ===== Icon SVG line-art (thay emoji) ===== */
.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}
.ic{width:1.15em;height:1.15em;display:inline-block;vertical-align:-.18em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.pc-img .ic,.bc-img .ic{width:66px;height:66px;stroke-width:1.4;color:var(--primary)}
.ico .ic{width:34px;height:34px;color:var(--primary)}
.badge .ic,.tb-ic{width:1.25em;height:1.25em;color:var(--accent)}
.footer-ic{width:1em;height:1em;color:var(--primary);opacity:.85}
a{color:var(--primary);text-decoration:none}
a:hover{color:var(--accent)}
.container{max-width:var(--maxw);margin:0 auto;padding:0 20px}
h1,h2,h3,h4{line-height:1.25;color:var(--text);font-weight:700}
h2.section-title{font-size:1.9rem;text-align:center;margin-bottom:.5rem}
.section-sub{text-align:center;color:var(--text-muted);max-width:640px;margin:0 auto 2.5rem}
section{padding:64px 0}
.bg-alt{background:var(--bg-alt)}

/* Buttons */
.btn{display:inline-block;padding:13px 28px;border-radius:var(--radius);
  font-weight:600;cursor:pointer;border:none;transition:.2s;font-size:1rem}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-dark);color:#fff;transform:translateY(-2px)}
.btn-outline{background:transparent;color:#fff;border:2px solid #fff}
.btn-outline:hover{background:#fff;color:var(--primary)}
.btn-ghost{background:var(--primary);color:#fff}
.btn-ghost:hover{background:var(--primary-dark);color:#fff}

/* ===== Top bar ===== */
.topbar{background:var(--primary-dark);color:#dbe9f7;font-size:.85rem}
.topbar .container{display:flex;justify-content:space-between;align-items:center;
  padding-top:7px;padding-bottom:7px;flex-wrap:wrap;gap:6px}
.topbar a{color:#dbe9f7}
.topbar a:hover{color:#fff}
.topbar .tb-right{display:flex;gap:16px;flex-wrap:wrap}

/* ===== Header / Nav ===== */
header.site-header{position:sticky;top:0;z-index:100;background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.06)}
.nav{display:flex;align-items:center;justify-content:space-between;
  padding-top:14px;padding-bottom:14px}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;
  font-size:1.35rem;color:var(--primary)}
.logo .logo-mark{width:38px;height:38px;background:linear-gradient(135deg,var(--primary),var(--accent));
  border-radius:9px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.1rem}
.logo small{display:block;font-size:.62rem;color:var(--text-muted);font-weight:500;letter-spacing:.5px}
.menu{display:flex;gap:6px;list-style:none;align-items:center}
.menu a{padding:9px 14px;border-radius:8px;color:var(--text);font-weight:500}
.menu a:hover,.menu a.active{background:var(--bg-alt);color:var(--primary)}
.nav-cta{display:flex;align-items:center;gap:10px}
.nav-phone{font-weight:700;color:var(--accent);font-size:1.05rem;white-space:nowrap}
.hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:6px}
.hamburger span{width:26px;height:3px;background:var(--primary);border-radius:2px;transition:.3s}

/* ===== Hero ===== */
.hero{position:relative;color:#fff;
  background:linear-gradient(120deg,rgba(8,58,102,.92),rgba(11,79,138,.82)),
  url('../images/hero.svg') center/cover;padding:88px 0}
.hero h1{font-size:2.6rem;color:#fff;margin-bottom:16px;max-width:720px}
.hero p{font-size:1.18rem;max-width:600px;margin-bottom:28px;color:#e8f1fb}
.hero .hero-btns{display:flex;gap:14px;flex-wrap:wrap}
.hero .badges{display:flex;gap:26px;margin-top:40px;flex-wrap:wrap}
.hero .badge{display:flex;align-items:center;gap:9px;font-size:.95rem}
.hero .badge b{font-size:1.35rem;display:block}

/* ===== Feature strip ===== */
.features{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.feature{background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  padding:26px 22px;text-align:center;transition:.2s}
.feature:hover{box-shadow:var(--shadow);transform:translateY(-4px)}
.feature .ico{font-size:2rem;margin-bottom:10px}
.feature h3{font-size:1.08rem;margin-bottom:6px}
.feature p{color:var(--text-muted);font-size:.92rem}

/* ===== Products grid ===== */
.products{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.product-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  overflow:hidden;transition:.2s;display:flex;flex-direction:column}
.product-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-5px)}
.product-card .pc-img{height:200px;background:var(--bg-alt);display:flex;
  align-items:center;justify-content:center;font-size:3.4rem;color:var(--primary)}
.product-card .pc-body{padding:20px;flex:1;display:flex;flex-direction:column}
.product-card h3{font-size:1.15rem;margin-bottom:8px}
.product-card p{color:var(--text-muted);font-size:.93rem;flex:1;margin-bottom:14px}
.product-card .pc-tag{display:inline-block;background:#eaf3fb;color:var(--primary);
  font-size:.75rem;padding:3px 10px;border-radius:20px;margin-bottom:10px;font-weight:600;align-self:flex-start}

/* ===== Table (bang gia / quy cach) ===== */
.table-wrap{overflow-x:auto;border-radius:var(--radius);border:1px solid var(--border)}
table{width:100%;border-collapse:collapse;background:#fff;min-width:520px}
th,td{padding:13px 16px;text-align:left;border-bottom:1px solid var(--border)}
th{background:var(--primary);color:#fff;font-weight:600;font-size:.92rem}
tr:nth-child(even) td{background:var(--bg-alt)}
tr:hover td{background:#eaf3fb}

/* ===== Why / steps ===== */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;counter-reset:step}
.step{position:relative;padding:26px 20px 22px;background:#fff;border-radius:var(--radius);
  border:1px solid var(--border)}
.step::before{counter-increment:step;content:counter(step);
  position:absolute;top:-16px;left:20px;width:36px;height:36px;background:var(--accent);
  color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700}
.step h3{font-size:1.05rem;margin:8px 0 6px}
.step p{color:var(--text-muted);font-size:.9rem}

/* ===== CTA band ===== */
.cta-band{background:linear-gradient(120deg,var(--primary),var(--primary-dark));
  color:#fff;text-align:center}
.cta-band h2{color:#fff;font-size:1.8rem;margin-bottom:10px}
.cta-band p{color:#dbe9f7;margin-bottom:22px}

/* ===== Blog cards ===== */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.blog-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  overflow:hidden;transition:.2s}
.blog-card:hover{box-shadow:var(--shadow);transform:translateY(-4px)}
.blog-card .bc-img{height:170px;background:linear-gradient(135deg,#dbe9f7,#f5f7fa);
  display:flex;align-items:center;justify-content:center;font-size:2.6rem}
.blog-card .bc-body{padding:20px}
.blog-card h3{font-size:1.08rem;margin-bottom:8px}
.blog-card p{color:var(--text-muted);font-size:.9rem;margin-bottom:10px}
.blog-card .bc-date{font-size:.8rem;color:var(--text-muted)}

/* ===== FAQ ===== */
.faq-item{background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  margin-bottom:12px;overflow:hidden}
.faq-q{padding:18px 22px;font-weight:600;cursor:pointer;display:flex;
  justify-content:space-between;align-items:center;gap:12px}
.faq-q:hover{color:var(--primary)}
.faq-a{padding:0 22px;max-height:0;overflow:hidden;transition:.3s;color:var(--text-muted)}
.faq-item.open .faq-a{padding:0 22px 20px;max-height:400px}
.faq-item.open .faq-q .plus{transform:rotate(45deg)}
.faq-q .plus{font-size:1.4rem;color:var(--accent);transition:.3s;flex-shrink:0}

/* ===== Footer ===== */
footer.site-footer{background:#0d1b2a;color:#b8c4d4;padding:56px 0 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.4fr;gap:36px}
.footer-grid h4{color:#fff;margin-bottom:16px;font-size:1.05rem}
.footer-grid ul{list-style:none}
.footer-grid li{margin-bottom:9px}
.footer-grid a{color:#b8c4d4}
.footer-grid a:hover{color:var(--accent)}
.footer-bottom{border-top:1px solid #1e2d3f;margin-top:40px;padding:20px 0;
  text-align:center;font-size:.85rem;color:#7a8ba0}

/* ===== Page hero (inner) ===== */
.page-hero{background:linear-gradient(120deg,var(--primary),var(--primary-dark));
  color:#fff;padding:54px 0;text-align:center}
.page-hero h1{color:#fff;font-size:2.1rem;margin-bottom:8px}
.breadcrumb{font-size:.88rem;color:#cfe0f2}
.breadcrumb a{color:#cfe0f2}
.breadcrumb a:hover{color:#fff}

/* ===== Content prose ===== */
.prose{max-width:820px;margin:0 auto}
.prose h2{font-size:1.5rem;margin:32px 0 12px}
.prose h3{font-size:1.2rem;margin:24px 0 10px}
.prose p{margin-bottom:14px;color:#2d3748}
.prose ul,.prose ol{margin:0 0 16px 22px}
.prose li{margin-bottom:7px;color:#2d3748}
.prose img{border-radius:var(--radius);margin:20px 0}

/* ===== Contact ===== */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.contact-info .ci-item{display:flex;gap:14px;margin-bottom:22px;align-items:flex-start}
.contact-info .ci-ico{font-size:1.5rem;flex-shrink:0}
.form-group{margin-bottom:16px}
.form-group label{display:block;margin-bottom:6px;font-weight:600;font-size:.92rem}
.form-group input,.form-group textarea,.form-group select{
  width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:8px;
  font-family:inherit;font-size:1rem}
.form-group input:focus,.form-group textarea:focus{outline:none;border-color:var(--primary)}

/* ===== Floating contact buttons ===== */
.float-contact{position:fixed;right:16px;bottom:16px;z-index:200;
  display:flex;flex-direction:column;gap:12px}
.float-contact a{width:54px;height:54px;border-radius:50%;display:flex;
  align-items:center;justify-content:center;color:#fff;font-size:1.5rem;
  box-shadow:var(--shadow-lg);transition:.2s;text-decoration:none}
.float-contact a:hover{transform:scale(1.1)}
.fc-phone{background:#f26a1b;animation:pulse 2s infinite}
.fc-zalo{background:#0068ff;font-size:.85rem;font-weight:800}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(242,106,27,.6)}70%{box-shadow:0 0 0 14px rgba(242,106,27,0)}100%{box-shadow:0 0 0 0 rgba(242,106,27,0)}}

/* ===== Responsive ===== */
@media(max-width:960px){
  .features,.products,.blog-grid,.steps{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .hero h1{font-size:2.1rem}
}
@media(max-width:720px){
  .menu{position:fixed;top:0;right:-100%;height:100vh;width:78%;max-width:320px;
    background:#fff;flex-direction:column;align-items:stretch;padding:80px 20px 20px;
    box-shadow:-6px 0 30px rgba(0,0,0,.2);transition:.3s;gap:4px}
  .menu.open{right:0}
  .menu a{padding:14px;border-bottom:1px solid var(--border)}
  .hamburger{display:flex}
  .nav-phone{display:none}
  .contact-grid{grid-template-columns:1fr}
  section{padding:44px 0}
  .hero{padding:60px 0}
  .hero h1{font-size:1.8rem}
}
@media(max-width:480px){
  .features,.products,.blog-grid,.steps,.footer-grid{grid-template-columns:1fr}
  h2.section-title{font-size:1.5rem}
}
