@charset "UTF-8";
/* ===== 万能证件制作公司 - 暖橙活力主题 ===== */
:root {
    --main: #ff6b35;
    --sub: #f7931e;
    --accent: #2d3436;
    --bg: #fff9f5;
    --white: #ffffff;
    --gray: #636e72;
    --light-gray: #dfe6e9;
    --radius: 18px;
    --shadow: 0 8px 30px rgba(255, 107, 53, 0.12);
    --shadow-hover: 0 16px 40px rgba(255, 107, 53, 0.22);
    --gradient: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; color: #2d3436; line-height: 1.7; background: var(--bg); }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Header & Navigation ===== */
.header { background: var(--white); box-shadow: 0 4px 20px rgba(255, 107, 53, 0.1); position: sticky; top: 0; z-index: 999; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-size: 26px; font-weight: bold; color: var(--main); letter-spacing: 2px; display: flex; flex-direction: column; line-height: 1.2; }
.logo span { color: var(--accent); font-size: 12px; font-weight: normal; letter-spacing: 1px; }
.nav { display: flex; }
.nav a { padding: 28px 16px; font-size: 15px; color: var(--accent); transition: all 0.3s; position: relative; }
.nav a:hover, .nav a.active { color: var(--main); }
.nav a.active::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 30px; height: 3px; background: var(--gradient); border-radius: 2px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; cursor: pointer; padding: 10px; background: none; border: none; }
.hamburger span { width: 28px; height: 3px; background: var(--accent); margin: 4px 0; transition: 0.3s; border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); background: var(--main); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); background: var(--main); }

/* ===== Banner / Carousel ===== */
.banner { position: relative; overflow: hidden; height: 500px; border-radius: 0; }
.banner-slider { display: flex; transition: transform 0.6s ease; height: 100%; }
.banner-slide { min-width: 100%; height: 100%; position: relative; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-slide .overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 107, 53, 0.75), rgba(45, 52, 54, 0.65)); display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 20px; }
.banner-slide .overlay h2 { font-size: 44px; margin-bottom: 18px; text-shadow: 0 2px 12px rgba(0,0,0,0.3); font-weight: bold; }
.banner-slide .overlay p { font-size: 18px; max-width: 720px; opacity: 0.95; }
.banner-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.25); border: none; color: #fff; font-size: 32px; padding: 14px 20px; cursor: pointer; border-radius: 50%; transition: 0.3s; width: 56px; height: 56px; }
.banner-btn:hover { background: var(--gradient); }
.banner-btn.prev { left: 24px; }
.banner-btn.next { right: 24px; }
.banner-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.banner-dots li { width: 12px; height: 12px; background: rgba(255,255,255,0.5); border-radius: 50%; cursor: pointer; transition: 0.3s; }
.banner-dots li.active { background: var(--main); transform: scale(1.3); }

/* ===== Section Common ===== */
.section { padding: 70px 24px; }
.section-alt { background: var(--white); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; color: var(--accent); margin-bottom: 12px; font-weight: bold; }
.section-title p { color: var(--gray); font-size: 15px; }
.section-title .bar { display: block; width: 70px; height: 4px; background: var(--gradient); margin: 16px auto 0; border-radius: 2px; }
.container { max-width: 1200px; margin: 0 auto; }

/* ===== Buttons ===== */
.btn-primary { display: inline-block; padding: 14px 36px; background: var(--gradient); color: #fff; border: none; border-radius: 30px; font-size: 15px; cursor: pointer; transition: 0.3s; box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(255, 107, 53, 0.45); }
.btn-outline { display: inline-block; padding: 13px 34px; background: transparent; color: var(--main); border: 2px solid var(--main); border-radius: 30px; font-size: 15px; cursor: pointer; transition: 0.3s; }
.btn-outline:hover { background: var(--main); color: #fff; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 380px; object-fit: cover; }
.about-text h3 { font-size: 26px; color: var(--accent); margin-bottom: 18px; }
.about-text p { margin-bottom: 14px; color: #555; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.about-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #555; background: var(--bg); padding: 10px 14px; border-radius: 12px; }
.about-features li::before { content: "✓"; color: var(--white); background: var(--gradient); width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold; flex-shrink: 0; }

/* ===== Masonry (瀑布流) ===== */
.masonry { column-count: 3; column-gap: 24px; }
.masonry-item { break-inside: avoid; margin-bottom: 24px; }

/* ===== Products / Services ===== */
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.product-card img { width: 100%; object-fit: cover; }
.product-card .info { padding: 22px; }
.product-card h4 { font-size: 19px; color: var(--accent); margin-bottom: 10px; }
.product-card p { font-size: 14px; color: var(--gray); }

/* ===== Cases ===== */
.case-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: 0.3s; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.case-card img { width: 100%; object-fit: cover; }
.case-card .info { padding: 20px; }
.case-card h4 { font-size: 17px; color: var(--accent); margin-bottom: 8px; }
.case-card p { font-size: 13px; color: var(--gray); }
.case-tag { display: inline-block; background: var(--bg); color: var(--main); padding: 4px 12px; border-radius: 20px; font-size: 12px; margin-top: 8px; }

/* ===== News ===== */
.news-item { display: flex; gap: 20px; padding: 22px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); transition: 0.3s; }
.news-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.news-date { text-align: center; min-width: 76px; padding: 14px 12px; background: var(--gradient); color: #fff; border-radius: 14px; height: fit-content; }
.news-date .day { font-size: 30px; font-weight: bold; display: block; line-height: 1; }
.news-date .month { font-size: 12px; margin-top: 4px; display: block; }
.news-info h4 { font-size: 18px; color: var(--accent); margin-bottom: 10px; transition: color 0.3s; }
.news-item:hover .news-info h4 { color: var(--main); }
.news-info p { font-size: 14px; color: var(--gray); line-height: 1.6; }
.news-info .read-more { display: inline-block; margin-top: 10px; color: var(--main); font-size: 13px; }

/* ===== Reviews ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review-card { background: var(--white); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; transition: 0.3s; }
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.review-card::before { content: "★★★★★"; color: var(--sub); font-size: 18px; letter-spacing: 3px; display: block; margin-bottom: 16px; }
.review-card p { color: #555; font-style: italic; margin-bottom: 18px; }
.review-author { display: flex; align-items: center; gap: 14px; }
.review-author .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--gradient); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 20px; }
.review-author .name { font-weight: bold; color: var(--accent); }
.review-author .title { font-size: 13px; color: var(--gray); }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: 16px; margin-bottom: 16px; overflow: hidden; box-shadow: var(--shadow); transition: 0.3s; }
.faq-item.open { box-shadow: var(--shadow-hover); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; cursor: pointer; font-size: 16px; font-weight: bold; color: var(--accent); }
.faq-question .icon { width: 30px; height: 30px; background: var(--bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--main); font-size: 20px; transition: 0.3s; flex-shrink: 0; }
.faq-item.open .icon { transform: rotate(45deg); background: var(--gradient); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; padding: 0 24px; }
.faq-item.open .faq-answer { max-height: 400px; padding: 0 24px 22px; }
.faq-answer p { color: #555; font-size: 15px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { background: var(--gradient); color: #fff; padding: 40px; border-radius: var(--radius); }
.contact-info h3 { font-size: 24px; margin-bottom: 24px; }
.contact-info ul li { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info .icon { width: 44px; height: 44px; background: rgba(255,255,255,0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-info strong { display: block; margin-bottom: 4px; font-size: 15px; }
.contact-info span.txt { font-size: 15px; opacity: 0.95; }
.contact-form { background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form h3 { font-size: 24px; color: var(--accent); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group input, .form-group textarea { width: 100%; padding: 14px 18px; border: 2px solid var(--light-gray); border-radius: 12px; font-size: 15px; font-family: inherit; transition: 0.3s; background: var(--bg); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--main); background: #fff; }
.form-group textarea { min-height: 130px; resize: vertical; }

/* ===== Links ===== */
.links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.link-item { background: var(--white); padding: 18px 20px; border-radius: 14px; box-shadow: var(--shadow); text-align: center; transition: 0.3s; color: var(--accent); font-size: 14px; }
.link-item:hover { background: var(--gradient); color: #fff; transform: translateY(-4px); }

/* ===== Page Banner ===== */
.page-banner { background: var(--gradient); color: #fff; padding: 70px 24px; text-align: center; }
.page-banner h1 { font-size: 38px; margin-bottom: 12px; font-weight: bold; }
.page-banner p { font-size: 16px; opacity: 0.95; }

/* ===== Breadcrumb ===== */
.breadcrumb { background: var(--white); padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
.breadcrumb .container { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray); }
.breadcrumb a { color: var(--main); }
.breadcrumb .sep { color: var(--light-gray); }

/* ===== Article ===== */
.article-wrap { max-width: 860px; margin: 0 auto; }
.article-box { background: var(--white); padding: 50px; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-box h1 { font-size: 32px; color: var(--accent); margin-bottom: 16px; line-height: 1.4; }
.article-meta { display: flex; gap: 20px; color: var(--gray); font-size: 14px; margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid #f0f0f0; }
.article-box h2 { font-size: 22px; color: var(--accent); margin: 30px 0 14px; padding-left: 14px; border-left: 4px solid var(--main); }
.article-box h3 { font-size: 18px; color: var(--accent); margin: 22px 0 10px; }
.article-box p { margin-bottom: 16px; color: #555; font-size: 15px; line-height: 1.9; }
.article-box ul, .article-box ol { margin: 14px 0 18px 20px; color: #555; }
.article-box ul li, .article-box ol li { margin-bottom: 8px; list-style: disc; }
.article-box ol li { list-style: decimal; }
.article-box img { border-radius: 14px; margin: 22px 0; box-shadow: var(--shadow); }
.article-cta { background: var(--bg); border: 2px dashed var(--main); border-radius: var(--radius); padding: 28px; margin: 30px 0; text-align: center; }
.article-cta h3 { color: var(--main); margin-bottom: 10px; }
.article-cta p { color: var(--accent); margin-bottom: 16px; }
.article-nav { display: flex; justify-content: space-between; margin-top: 30px; gap: 16px; }
.article-nav a { flex: 1; padding: 16px 22px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow); transition: 0.3s; color: var(--accent); }
.article-nav a:hover { background: var(--gradient); color: #fff; }
.article-nav .next { text-align: right; }

/* ===== Footer ===== */
.footer { background: var(--accent); color: #dfe6e9; padding: 50px 24px 0; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 36px; }
.footer-col h4 { color: #fff; font-size: 17px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--gradient); border-radius: 2px; }
.footer-col p { font-size: 14px; line-height: 1.8; margin-bottom: 8px; }
.footer-col a { display: block; color: #b2bec3; font-size: 14px; padding: 5px 0; transition: 0.3s; }
.footer-col a:hover { color: var(--main); padding-left: 6px; }
.footer-bottom { max-width: 1200px; margin: 36px auto 0; padding: 22px 0; border-top: 1px solid #4a4f50; text-align: center; font-size: 13px; color: #b2bec3; }

/* ===== Floating Contact & Back Top ===== */
.floating-contact { position: fixed; right: 20px; bottom: 100px; display: flex; flex-direction: column; gap: 12px; z-index: 998; }
.floating-contact a { width: 50px; height: 50px; border-radius: 50%; background: var(--gradient); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 4px 16px rgba(255,107,53,0.4); transition: 0.3s; }
.floating-contact a:hover { transform: scale(1.1); }
.back-top { position: fixed; right: 20px; bottom: 170px; width: 50px; height: 50px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; cursor: pointer; opacity: 0; visibility: hidden; transition: 0.3s; z-index: 998; }
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--main); }
