/* ===== 河南旅游攻略网 · 洛阳旅游团 官网样式 ===== */
:root{
  --navy:#0d3b56;
  --navy-2:#103d5e;
  --gold:#c8932b;
  --gold-2:#e0a93a;
  --paper:#fbf9f5;
  --ink:#1f2a33;
  --ink-soft:#54636f;
  --line:#e6e0d4;
  --green:#2e7d5b;
  --red:#c0392b;
  --shadow:0 6px 24px rgba(13,59,86,.08);
  --radius:14px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--ink);background:var(--paper);line-height:1.7;-webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%}
.wrap{max-width:1140px;margin:0 auto;padding:0 20px}
.eyebrow{color:var(--gold);font-weight:700;letter-spacing:.08em;font-size:13px;text-transform:uppercase}
.section{padding:64px 0}
.section.alt{background:#fff}
.section h2{font-size:30px;line-height:1.3;margin:8px 0 6px;color:var(--navy)}
.section .lead{color:var(--ink-soft);max-width:760px;margin-bottom:34px}
.center{text-align:center}

/* header */
header.site{position:sticky;top:0;z-index:50;background:rgba(13,59,86,.97);backdrop-filter:blur(6px);color:#fff}
.nav{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px}
.brand .dot{width:10px;height:10px;border-radius:50%;background:var(--gold);display:inline-block}
.nav ul{display:flex;gap:22px;list-style:none;font-size:15px}
.nav ul a{opacity:.9;transition:.2s}
.nav ul a:hover{opacity:1;color:var(--gold-2)}
.nav .phone{background:var(--gold);color:#1a1206;font-weight:800;padding:9px 16px;border-radius:999px;font-size:14px;white-space:nowrap}
.nav .phone:hover{background:var(--gold-2)}
.nav-toggle{display:none}

/* hero */
.hero{background:linear-gradient(135deg,var(--navy) 0%,var(--navy-2) 55%,#16486b 100%);color:#fff;padding:86px 0 78px;position:relative;overflow:hidden}
.hero::after{content:"";position:absolute;right:-120px;top:-120px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(200,147,43,.32),transparent 60%)}
.hero h1{font-size:44px;line-height:1.25;margin:14px 0 16px;max-width:760px;position:relative;z-index:1}
.hero h1 .hl{color:var(--gold-2)}
.hero p.sub{font-size:18px;opacity:.92;max-width:680px;position:relative;z-index:1}
.hero .cta-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px;position:relative;z-index:1}
.btn{display:inline-block;padding:13px 26px;border-radius:999px;font-weight:700;font-size:15px;transition:.2s;cursor:pointer}
.btn-gold{background:var(--gold);color:#1a1206}
.btn-gold:hover{background:var(--gold-2)}
.btn-ghost{border:1.5px solid rgba(255,255,255,.5);color:#fff}
.btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.1)}
.trust-bar{display:flex;gap:26px;flex-wrap:wrap;margin-top:40px;position:relative;z-index:1}
.trust-bar .t{display:flex;align-items:center;gap:10px;font-size:14px;opacity:.95}
.trust-bar .t b{color:var(--gold-2);font-size:22px;font-weight:800}

/* cards grid */
.grid{display:grid;gap:22px}
.grid.c2{grid-template-columns:repeat(2,1fr)}
.grid.c3{grid-template-columns:repeat(3,1fr)}
.grid.c4{grid-template-columns:repeat(4,1fr)}
.grid.c5{grid-template-columns:repeat(5,1fr)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow);transition:.2s}
.card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(13,59,86,.14)}
.card h3{color:var(--navy);font-size:19px;margin-bottom:8px}
.card p{color:var(--ink-soft);font-size:15px}
.card .tag{display:inline-block;background:#f3ecda;color:#8a6a1e;font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;margin-bottom:10px}
.card .price{margin-top:14px;font-weight:800;color:var(--gold);font-size:18px}
.card .price small{color:var(--ink-soft);font-weight:600;font-size:13px}

/* feature */
.feature{display:flex;gap:14px;align-items:flex-start}
.feature .ic{flex:0 0 44px;height:44px;border-radius:12px;background:#f3ecda;color:var(--gold);display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:800}
.feature h3{margin-bottom:4px;font-size:17px}
.feature p{font-size:14px}

/* table */
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
table{width:100%;border-collapse:collapse;background:#fff;font-size:15px;min-width:640px}
th,td{padding:14px 16px;text-align:left;border-bottom:1px solid var(--line)}
th{background:var(--navy);color:#fff;font-weight:700;white-space:nowrap}
tbody tr:nth-child(even){background:#faf7f1}
td .ok{color:var(--green);font-weight:700}
td .no{color:var(--red);font-weight:700}

/* accordion / FAQ (details) */
details.faq{background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:12px;overflow:hidden}
details.faq summary{cursor:pointer;padding:16px 20px;font-weight:700;color:var(--navy);list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px}
details.faq summary::-webkit-details-marker{display:none}
details.faq summary::after{content:"+";font-size:22px;color:var(--gold);font-weight:800;transition:.2s}
details.faq[open] summary::after{transform:rotate(45deg)}
details.faq .ans{padding:0 20px 18px;color:var(--ink-soft);font-size:15px}
details.faq .ans ul{margin:8px 0 0 18px}

/* notice / callout */
.notice{border-left:5px solid var(--gold);background:#fdf6e9;padding:18px 22px;border-radius:0 12px 12px 0;margin:18px 0}
.notice.warn{border-left-color:var(--red);background:#fdeceb}
.notice.tip{border-left-color:var(--green);background:#eef7f1}
.notice b{color:var(--ink)}

/* itinerary day */
.day{display:flex;gap:18px;padding:18px 0;border-bottom:1px dashed var(--line)}
.day:last-child{border-bottom:none}
.day .d{flex:0 0 64px;height:64px;border-radius:14px;background:var(--navy);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:800}
.day .d small{font-size:11px;font-weight:600;opacity:.8}
.day .body h4{color:var(--navy);font-size:17px;margin-bottom:4px}
.day .body p{color:var(--ink-soft);font-size:14px}

/* steps */
.steps{counter-reset:step;display:grid;gap:16px}
.step{position:relative;padding:18px 20px 18px 64px;background:#fff;border:1px solid var(--line);border-radius:12px}
.step::before{counter-increment:step;content:counter(step);position:absolute;left:18px;top:18px;width:30px;height:30px;border-radius:50%;background:var(--gold);color:#1a1206;font-weight:800;display:flex;align-items:center;justify-content:center}
.step h4{color:var(--navy);margin-bottom:4px}
.step p{font-size:14px;color:var(--ink-soft)}

/* CTA band */
.cta-band{background:linear-gradient(135deg,var(--navy),#16486b);color:#fff;border-radius:18px;padding:40px;text-align:center;margin-top:10px}
.cta-band h3{font-size:26px;margin-bottom:10px}
.cta-band p{opacity:.92;margin-bottom:20px}

/* footer */
footer.site{background:#0a2c41;color:#cfe0ea;padding:48px 0 28px;font-size:14px}
footer.site h4{color:#fff;margin-bottom:14px;font-size:15px}
footer.site a{color:#cfe0ea;opacity:.85}
footer.site a:hover{color:var(--gold-2);opacity:1}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:30px}
.foot-grid p{opacity:.85;line-height:1.9}
.foot-contact b{color:#fff}
.foot-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:30px;padding-top:18px;font-size:13px;opacity:.75;line-height:1.8}
.placeholder{background:#fff6d8;border:1px dashed #d9b94a;color:#7a5e10;padding:2px 8px;border-radius:6px;font-size:13px;font-weight:600}

/* ===== 图片与丰富底部 扩展 ===== */

/* hero 背景图（叠加暗色蒙版，保证文字可读） */
.hero .hero-bg{ position:absolute; inset:0; background-size:cover; background-position:center; z-index:0; }
.hero .hero-mask{ position:absolute; inset:0; background: linear-gradient(120deg, rgba(8,30,45,.86) 0%, rgba(8,30,45,.6) 55%, rgba(8,30,45,.35) 100%); z-index:0; }
.hero .wrap{ position:relative; z-index:2; }

/* 卡片带图片（行程/线路/目的地通用） */
.card.has-img{ padding:0; overflow:hidden; display:flex; flex-direction:column; }
.card .card-img{ width:100%; height:180px; object-fit:cover; display:block; transition: transform .5s ease; }
.card.has-img:hover .card-img{ transform: scale(1.04); }
.card.has-img .body{ padding:18px 20px 22px; }
.card.has-img .body h3{ margin-top:2px; }

/* 行程区横幅图（每日路线一张） */
.section-banner{ width:100%; height:240px; object-fit:cover; border-radius:16px; margin: 18px 0 26px; box-shadow: var(--shadow); display:block; }

/* 餐食图（价格页/特色餐说明） */
.food-banner{ display:flex; gap:22px; align-items:center; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:18px; box-shadow: var(--shadow); margin-top:18px; }
.food-banner img{ flex:0 0 220px; width:220px; height:150px; object-fit:cover; border-radius:12px; }
.food-banner .text h3{ color:var(--navy); margin-bottom:6px; font-size:18px; }
.food-banner .text p{ color:var(--ink-soft); font-size:15px; }
@media(max-width:700px){ .food-banner{ flex-direction:column; } .food-banner img{ width:100%; height:180px; } }

/* 特色目的地图带（首页） */
.dest-strip{ display:grid; grid-template-columns:repeat(5,1fr); gap:14px; margin:26px 0 8px; }
.dest-strip a{ position:relative; display:block; height:120px; border-radius:12px; overflow:hidden; box-shadow: var(--shadow); }
.dest-strip a img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.dest-strip a:hover img{ transform: scale(1.06); }
.dest-strip a span{ position:absolute; left:0; right:0; bottom:0; padding:8px 10px; color:#fff; font-weight:700; font-size:14px; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent); }
@media(max-width:900px){ .dest-strip{ grid-template-columns:repeat(2,1fr); } }

/* ===== 底部（详细版） ===== */
footer.site{ background: linear-gradient(180deg, #0a2c41 0%, #08253a 100%); color:#cfe0ea; padding:54px 0 24px; font-size:14px; }
footer.site h4{ color:#fff; margin-bottom:16px; font-size:15px; position:relative; padding-bottom:8px; }
footer.site h4::after{ content:""; position:absolute; left:0; bottom:0; width:28px; height:2px; background:var(--gold); border-radius:2px; }
footer.site a{ color:#cfe0ea; opacity:.85; }
footer.site a:hover{ color:var(--gold-2); opacity:1; }

.foot-grid{ display:grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr 1.2fr; gap:36px; }
.foot-grid .foot-col p{ opacity:.85; line-height:1.95; margin:0; }
.foot-grid ul{ list-style:none; padding:0; margin:0; }
.foot-grid ul li{ padding:4px 0; font-size:14px; }
.foot-contact .row{ margin:6px 0; line-height:1.7; }
.foot-contact b{ color:#fff; display:inline-block; min-width:46px; }

.foot-brand{ display:flex; align-items:center; gap:10px; font-size:18px; font-weight:800; color:#fff; margin-bottom:14px; }
.foot-brand .dot{ width:10px; height:10px; border-radius:50%; background:var(--gold); display:inline-block; }

.foot-tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.foot-tags a{ display:inline-block; padding:4px 10px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:999px; font-size:12px; }
.foot-tags a:hover{ background:var(--gold); color:#1a1206; border-color:var(--gold); }

.qr-box{ display:flex; gap:14px; align-items:center; margin-top:10px; padding:12px; background:rgba(255,255,255,.04); border:1px dashed rgba(255,255,255,.18); border-radius:12px; }
.qr-box .qr{ width:78px; height:78px; background:#fff; border-radius:8px; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#0a2c41; font-size:10px; font-weight:700; text-align:center; line-height:1.25; padding:6px; box-sizing:border-box; }
.qr-box .qr small{ display:block; font-size:9px; color:#888; font-weight:600; margin-top:3px; }
.qr-box .qr-text strong{ color:#fff; display:block; font-size:14px; margin-bottom:2px; }
.qr-box .qr-text span{ font-size:12px; opacity:.75; }

.foot-mid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:16px; margin:36px 0 20px; padding:22px; background:rgba(255,255,255,.04); border-radius:14px; }
.foot-mid .item{ display:flex; gap:10px; align-items:center; font-size:13px; }
.foot-mid .item .ic{ width:34px; height:34px; border-radius:8px; background:rgba(200,147,43,.18); color:var(--gold-2); display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0; }
.foot-mid .item b{ display:block; color:#fff; font-size:13px; font-weight:700; }
.foot-mid .item span{ opacity:.75; font-size:12px; }

.foot-bottom-bar{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; border-top:1px solid rgba(255,255,255,.12); margin-top:30px; padding-top:18px; font-size:13px; opacity:.78; }
.foot-bottom-bar .links{ display:flex; gap:16px; flex-wrap:wrap; }
.foot-bottom-bar .links a{ opacity:.8; }

.foot-disclaimer{ background:rgba(255,255,255,.03); border-radius:10px; padding:14px 18px; margin:20px 0 0; font-size:12.5px; line-height:1.85; opacity:.82; }

/* responsive */
@media(max-width:1080px){
  .foot-grid{ grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
  .foot-mid{ grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:900px){
  .grid.c3,.grid.c4{grid-template-columns:repeat(2,1fr)}
  .grid.c5{grid-template-columns:repeat(3,1fr)}
  .foot-grid{grid-template-columns:1fr 1fr; gap:28px}
  .foot-mid{grid-template-columns:1fr 1fr}
  .nav ul{display:none}
}
@media(max-width:620px){
  .grid.c2,.grid.c3,.grid.c4,.grid.c5{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr; gap:26px}
  .foot-mid{grid-template-columns:1fr}
  .hero h1{font-size:32px}
  .section{padding:46px 0}
  .nav .phone{display:none}
  .foot-bottom-bar{ flex-direction:column; align-items:flex-start; }
  .section-banner{ height:180px; }
  .card .card-img{ height:160px; }
}

/* ===== 中英切换按钮 ===== */
.nav{gap:14px}
.nav nav{margin-left:auto}
.lang-btn{
  flex:0 0 auto;
  display:inline-flex;align-items:center;justify-content:center;
  min-width:52px;height:34px;padding:0 12px;
  font:800 13px/1 var(--font,inherit);letter-spacing:.06em;
  color:var(--gold-2);background:transparent;
  border:1px solid rgba(240,199,110,.55);border-radius:999px;
  cursor:pointer;transition:.2s;white-space:nowrap;
}
.lang-btn:hover{background:var(--gold);border-color:var(--gold);color:#1a1206}
.lang-btn:active{transform:translateY(1px)}
.lang-btn:focus-visible{outline:2px solid var(--gold-2);outline-offset:2px}

/* 英文版排版微调（英文更长，略收字号、放宽行高） */
body.lang-en{letter-spacing:0}
body.lang-en table{font-size:14.5px}
body.lang-en .trust-bar{font-size:13.5px}
body.lang-en .hero h1{font-size:42px;line-height:1.18}
body.lang-en .foot-mid .item span{font-size:12.5px}
body.lang-en .card h3{font-size:19px}
@media(max-width:620px){
  body.lang-en .hero h1{font-size:29px}
  .lang-btn{min-width:46px;height:30px;font-size:12px}
}

/* ===== 顶部联系电话条（最上方） ===== */
.topbar{background:var(--navy);color:#fff;border-bottom:1px solid rgba(200,147,43,.4);font-size:13px}
.topbar-in{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0}
.tb-left{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.tb-ic{color:var(--gold-2)}
.tb-num{color:#fff;font-weight:800;letter-spacing:.02em}
.tb-num:hover{color:var(--gold-2)}
.tb-sub{color:rgba(255,255,255,.72)}
.tb-call{margin-left:auto;background:var(--gold);color:#1a1206;font-weight:800;padding:5px 16px;border-radius:999px;white-space:nowrap;transition:.2s}
.tb-call:hover{background:var(--gold-2)}

@media(max-width:768px){
  .topbar-in{font-size:12px}
  .tb-call{padding:5px 12px}
}

/* ===== 新增：Hero 内电话条 + 内容中插播询价条 ===== */
.hero-call{display:flex;align-items:center;gap:10px;margin-top:18px;
  background:rgba(255,255,255,.08);border:1px solid rgba(200,147,43,.45);
  border-radius:999px;padding:8px 16px;width:fit-content;max-width:100%}
.hero-call .hc-ic{font-size:18px;line-height:1}
.hero-call .hc-tx{color:#f3e9d2;font-size:14px}
.hero-call .hc-num{margin-left:auto;font-weight:800;color:#1a1206;background:var(--gold);
  padding:6px 14px;border-radius:999px;white-space:nowrap}
.hero-call .hc-num:hover{background:var(--gold-2)}

.cta-inline{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;
  background:linear-gradient(135deg,#0d3b56,#103b2e);
  border:1px solid rgba(200,147,43,.5);border-radius:16px;padding:18px 22px;margin:30px 0}
.cta-inline-tx b{display:block;color:#ffe9b8;font-size:17px;margin-bottom:4px}
.cta-inline-tx span{color:#dfe7e2;font-size:14px}
.cta-inline-btn{flex:0 0 auto;background:var(--gold);color:#1a1206;font-weight:800;
  padding:12px 22px;border-radius:999px;white-space:nowrap}
.cta-inline-btn:hover{background:var(--gold-2)}

@media(max-width:620px){
  .hero-call{width:100%;flex-wrap:wrap}
  .hero-call .hc-num{margin-left:0;width:100%;text-align:center}
  .cta-inline{flex-direction:column;align-items:stretch;text-align:center}
  .cta-inline-btn{width:100%;text-align:center}
}
