/* ============================================================
   LINYI HUILI INTERNATIONAL TRADE CO., LTD
   PVC Film for Gypsum Ceiling Tiles — Corporate Website
   Brand orange derived from company LOGO
   ============================================================ */

:root {
  --brand: #E8820C;
  --brand-dark: #C66A06;
  --brand-soft: #FBEAD6;
  --ink: #22272E;
  --muted: #5B6470;
  --bg: #FFFFFF;
  --soft: #F6F4F0;
  --line: #E8E4DC;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(34, 39, 46, 0.08);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Helvetica Neue", Arial, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: #f2f2f2; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; border-radius: 6px; }
.brand-name { line-height: 1.2; }
.brand-name .en { font-size: 16px; font-weight: 800; letter-spacing: .3px; }
.brand-name .en span { color: var(--brand); }
.brand-name .cn { font-size: 12px; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--brand); border-bottom-color: var(--brand); }
.nav-cta { background: var(--brand); color: #fff !important; padding: 9px 18px !important; border-radius: 8px; border: none !important; }
.nav-cta:hover { background: var(--brand-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #E8820C 0%, #D9740A 55%, #C66A06 100%);
  color: #fff;
  padding: 90px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: 42px; line-height: 1.2; font-weight: 800; margin-bottom: 18px; }
.hero p.lead { font-size: 18px; opacity: .95; margin-bottom: 30px; max-width: 540px; }
.hero .btn-white { margin-right: 12px; }
.hero-visual {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-visual .ph-label { font-size: 13px; opacity: .85; margin-top: 10px; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.section-title p { color: var(--muted); max-width: 640px; margin: 0 auto; }
.bar { width: 60px; height: 4px; background: var(--brand); border-radius: 2px; margin: 14px auto 0; }

/* ---------- Feature cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 16px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Image feature cards (emoji-free) ---------- */
.img-card { padding: 0; overflow: hidden; }
.img-card .thumb {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block;
}
.img-card .card-body { padding: 20px 22px 24px; }
.img-card h3 { font-size: 17px; margin-bottom: 8px; }
.img-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- Banner photo background ---------- */
.page-banner.has-photo { position: relative; }
.page-banner.has-photo::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(135deg, rgba(200,106,6,.78), rgba(150,80,4,.82)), var(--banner-img);
  background-size: cover; background-position: center;
}
.page-banner.has-photo .container { position: relative; z-index: 1; }

/* ---------- Spec table ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}
.spec-table th { background: var(--soft); font-weight: 700; width: 38%; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* ---------- Split / About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .visual {
  background: var(--soft);
  border-radius: var(--radius);
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  border: 1px dashed #D8D2C6;
}
.check-list li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--ink);
}
.check-list li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--brand); font-weight: 800;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 70px 0;
}
.cta-band h2 { font-size: 30px; margin-bottom: 14px; }
.cta-band p { opacity: .85; margin-bottom: 28px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 18px;
}
.contact-card h3 { margin-bottom: 10px; font-size: 18px; }
.contact-card .row { display: flex; gap: 12px; align-items: center; padding: 6px 0; color: var(--muted); }
.contact-card .row b { color: var(--ink); }
.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff;
  padding: 12px 24px; border-radius: 8px; font-weight: 600;
}
.whatsapp-btn:hover { background: #1eb858; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: #1B1F24; color: #C9CED4; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 16px; }
.site-footer a { display: block; padding: 4px 0; color: #C9CED4; font-size: 14px; }
.site-footer a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid #333941;
  padding-top: 22px;
  text-align: center;
  font-size: 13px;
  color: #8A9199;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
  z-index: 90;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background: linear-gradient(135deg, #E8820C, #C66A06);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.page-banner h1 { font-size: 36px; font-weight: 800; }
.page-banner p { opacity: .9; margin-top: 8px; }

/* ---------- Filled product images ---------- */
.hero-visual { padding: 0; overflow: hidden; }
.hero-visual img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); }
.split .visual.img-fill { padding: 0; border: none; overflow: hidden; }
.split .visual.img-fill img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }

/* ---------- Pattern gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ---------- Factory photo ---------- */
.factory-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.factory-photo img { width: 100%; height: 340px; object-fit: cover; }
.gallery-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-caption { padding: 16px 18px; }
.gallery-caption h4 { font-size: 16px; margin-bottom: 4px; }
.gallery-caption p { color: var(--muted); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column;
    gap: 0; padding: 10px 0;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 24px; width: 100%; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .footer-grid, .gallery-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 60px 0; }
  .hero h1 { font-size: 28px; }
  .hero-visual img { height: 260px; }
}
