/* ===== Zhangjiajie Phone Shop — shared styles (light theme, zero external deps) ===== */
:root{
  --green:#0e7c5a;
  --green-dark:#0a5e44;
  --blue:#1f6fe0;
  --ink:#1d2b27;
  --muted:#5b6b66;
  --bg:#ffffff;
  --bg-soft:#f4f8f6;
  --line:#e2ebe7;
  --warn:#c0392b;
  --warn-bg:#fdecea;
  --radius:14px;
  --maxw:1080px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);background:var(--bg);line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-wrap:break-word;word-break:normal;
}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;display:block;border-radius:10px}

/* a11y: visible keyboard focus (contrast-safe on light and dark surfaces) */
:focus-visible{outline:3px solid var(--green);outline-offset:2px;border-radius:8px}
.hero :focus-visible,.site-footer :focus-visible{outline-color:#fff}
h1,h2,h3,h4{line-height:1.25;margin:0 0 .5em}
h1{font-size:clamp(28px,4vw,44px)}
h2{font-size:clamp(22px,3vw,32px)}
p{margin:0 0 1em}
.container{max-width:var(--maxw);margin:0 auto;padding:0 20px}
.muted{color:var(--muted)}
.center{text-align:center}

/* buttons */
.btn{
  display:inline-block;padding:13px 26px;border-radius:999px;font-weight:600;
  font-size:16px;border:2px solid transparent;cursor:pointer;transition:.15s;
}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn-primary{background:var(--green);color:#fff}
.btn-primary:hover{background:var(--green-dark)}
.btn-ghost{background:transparent;color:var(--green);border-color:var(--green)}
.btn-ghost:hover{background:var(--bg-soft)}

/* map action buttons (Google / Apple / Amap) */
.map-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;justify-content:center}
.map-btns .btn{margin:0;flex:1 1 140px;max-width:200px;text-align:center}
.map-btns .map-link-missing{color:#9aa0a6;border-color:#cfd3d6;opacity:.75;cursor:not-allowed;text-decoration:none;pointer-events:none}

/* nav */
.nav{
  position:sticky;top:0;z-index:20;background:rgba(255,255,255,.92);
  backdrop-filter:saturate(160%) blur(8px);border-bottom:1px solid var(--line);
}
.nav .container{display:flex;align-items:center;gap:16px;height:64px}
.brand{font-weight:800;font-size:19px;color:var(--ink);display:flex;align-items:center;gap:10px;text-decoration:none}
.brand-logo{display:block;height:28px;width:auto}
.brand-en{color:var(--ink)}
.brand .dot{width:10px;height:10px;border-radius:50%;background:var(--green)}
.nav ul{display:flex;gap:6px;list-style:none;margin:0 0 0 auto;padding:0}
.nav a{padding:8px 12px;border-radius:8px;color:var(--ink);font-weight:500;font-size:15px}
.nav a:hover{background:var(--bg-soft);text-decoration:none}
.nav a.active{color:var(--green);background:var(--bg-soft)}
.since-badge{margin-left:18px;padding:5px 12px;border:1.5px solid var(--green);border-radius:999px;
  color:var(--green);font-weight:800;font-size:12.5px;letter-spacing:.08em;white-space:nowrap}
.nav-toggle{display:none}

/* hero — full-bleed scenic background with overlay */
.hero{
  position:relative;color:#fff;
  padding:120px 0 96px;
  background:
    linear-gradient(rgba(8,28,20,.55),rgba(8,28,20,.62)),
    url('images/zhangjiajie-hero-bg.webp?v=4') center/cover no-repeat,
    var(--green-dark);
}
.hero h1{color:#fff;max-width:16ch;text-shadow:0 2px 12px rgba(0,0,0,.35)}
.hero p.lead{font-size:19px;color:rgba(255,255,255,.92);max-width:60ch;text-shadow:0 1px 8px rgba(0,0,0,.3)}
.hero .muted{color:rgba(255,255,255,.82)}
.hero .btn-ghost{color:#fff;border-color:rgba(255,255,255,.75)}
.hero .btn-ghost:hover{background:rgba(255,255,255,.14);text-decoration:none}
.hero-inner{max-width:680px}
.hero img{box-shadow:0 18px 40px rgba(13,40,30,.12)}
.hero-philosophy{position:absolute;top:22px;right:26px;color:#fff;
  font-family:"Segoe Script","Snell Roundhand","Bradley Hand","Brush Script MT",cursive;font-style:normal;font-weight:700;
  font-size:60px;letter-spacing:.01em;line-height:1.05;text-align:right;
  text-shadow:0 2px 14px rgba(0,0,0,.45);white-space:nowrap}

/* reasons / cards */
.section{padding:56px 0}
.section.soft{background:var(--bg-soft)}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:24px;box-shadow:0 6px 18px rgba(13,40,30,.04);
  display:flex;flex-direction:column;
}
.card h3{font-size:19px}
.card .ic{font-size:30px;margin-bottom:6px}
.card img{margin-bottom:14px;height:170px;object-fit:cover;width:100%}
.card .btn{margin-top:auto;align-self:center}

/* product layout */
.product{border:1px solid var(--line);border-radius:var(--radius);padding:26px;margin-bottom:22px;background:#fff}
.product h3{margin-bottom:4px}
.tag{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  background:var(--bg-soft);color:var(--green);padding:4px 10px;border-radius:999px;margin-bottom:10px}
.product .scene{background:var(--bg-soft);border-left:3px solid var(--green);padding:12px 16px;border-radius:0 8px 8px 0;margin:14px 0}
.product .test{color:var(--muted);font-style:italic}
.product .models{margin:12px 0 4px;font-weight:600}
.product .modlist{margin:0 0 4px;padding-left:18px}
.product .modlist li{margin:4px 0;font-size:14px}

/* product detail page */
.crumb{font-size:14px;color:var(--muted);margin-bottom:18px}
.crumb a{color:var(--green);text-decoration:none}
.crumb span{margin:0 6px;opacity:.6}
.prod-detail{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:start}
.prod-img img{width:100%;border-radius:16px;border:1px solid var(--line);background:var(--bg-soft);object-fit:cover}
.prod-info h1{font-size:32px;line-height:1.15;margin:8px 0 12px}
.prod-info .lead{margin:0 0 18px}
.prod-info .detail-block{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 18px;margin:14px 0}
.prod-info .detail-block h3{font-size:17px;margin:0 0 6px;color:var(--green-dark)}
.prod-info .detail-block p{margin:0;color:var(--text)}
.prod-info .detail-block .modlist{margin:0;padding-left:18px}
.prod-info .detail-block .modlist li{margin:4px 0;font-size:14px}
.prod-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
@media(max-width:760px){.prod-detail{grid-template-columns:1fr;gap:18px}.prod-info h1{font-size:26px}}

/* warning box */
.warn-box{
  background:var(--warn-bg);border:1px solid #f3c2bd;color:#8a2018;
  padding:16px 18px;border-radius:12px;margin:22px 0;font-weight:500;
}
.warn-box strong{color:var(--warn)}
.coming-soon{
  display:flex;align-items:center;justify-content:center;gap:10px;text-align:center;
  margin:26px 0 0;padding:16px 20px;border-radius:14px;font-size:16px;
  background:linear-gradient(135deg,rgba(42,122,82,.10),rgba(42,122,82,.04));
  border:1px dashed var(--green);color:var(--green-dark);
}
.coming-soon strong{font-weight:700}

/* policy page sections (renderPolicy) */
.policy-sec{margin-bottom:30px}
.policy-sec h2{margin-bottom:10px}
.policy-sec p{margin:0 0 .7em}
.policy-sec ul{margin:6px 0 0;padding-left:20px}
.policy-sec li{margin:4px 0;color:var(--muted)}

/* services steps */
.service{border:1px solid var(--line);border-radius:var(--radius);padding:22px;margin-bottom:16px;background:#fff}
.service .num{display:inline-flex;width:30px;height:30px;border-radius:50%;background:var(--green);color:#fff;
  align-items:center;justify-content:center;font-weight:700;margin-right:10px}

/* faq */
.faq-item{border:1px solid var(--line);border-radius:12px;padding:18px 20px;margin-bottom:12px;background:#fff}
.faq-item h3{font-size:17px;margin-bottom:6px}
.faq-item p{margin:0;color:var(--muted)}

/* contact */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.chan{border:1px solid var(--line);border-radius:var(--radius);padding:20px;background:#fff}
.chan h3{font-size:18px}
form.inquiry{display:grid;gap:12px;background:var(--bg-soft);padding:22px;border-radius:var(--radius)}
form.inquiry label{font-size:14px;font-weight:600}
form.inquiry input,form.inquiry textarea{
  width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:9px;font:inherit;background:#fff;
}
form.inquiry textarea{min-height:110px}
.note{font-size:13px;color:var(--muted)}

/* footer */
.site-footer{background:#0c2a20;color:#cfe3da;margin-top:40px;padding:46px 0 30px}
.site-footer h3{color:#fff;font-size:18px;margin-bottom:8px}
.site-footer h4{color:#9fd0bf;font-size:14px;text-transform:uppercase;letter-spacing:.05em;margin:0 0 10px}
.site-footer a{color:#bfe3d6}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:30px}
.foot-grid ul{list-style:none;padding:0;margin:0}
.foot-grid li{margin-bottom:6px}
.disclaimer{border-top:1px solid #1d4a3a;margin-top:30px;padding-top:20px;font-size:13px;color:#9bbdb1;line-height:1.6}
.disclaimer p{margin:0 0 8px}

/* responsive */
@media(max-width:860px){
  .hero-grid,.grid-3,.grid-2,.contact-grid,.foot-grid{grid-template-columns:1fr}
  .nav .container{height:60px}
  .nav ul{display:none;position:absolute;top:60px;left:0;right:0;background:#fff;flex-direction:column;
    padding:8px 16px 14px;border-bottom:1px solid var(--line);box-shadow:0 12px 28px rgba(0,0,0,.07)}
  .nav ul.open{display:flex}
  .nav ul li{width:100%}
  .nav ul li a{display:block;padding:12px 10px;font-size:16px}
  .nav-toggle{display:block;margin-left:auto;background:none;border:0;font-size:24px;cursor:pointer;color:var(--ink);padding:4px 8px}
  .since-badge{display:none}
  .brand-en{font-size:16px}
  .hero-philosophy{top:12px;right:12px;font-size:30px;padding:0;white-space:normal;max-width:60vw;line-height:1.1;text-align:right}
  .about-hero-logo{top:14px;right:14px;width:108px;max-width:34vw}
}

/* small phones */
@media(max-width:600px){
  .container{padding:0 16px}
  .hero{padding:88px 0 72px}
  .section{padding:40px 0}
  .card{padding:18px}
  .product{padding:20px}
  .btn{padding:12px 20px;font-size:15px}
  .map-btns .btn{width:100%;text-align:center}
  .nav .container{height:56px}
  .nav ul{top:56px}
}

/* ===== About Us page ===== */
.eyebrow{display:inline-block;font-size:13px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;
  color:var(--green);margin-bottom:10px}
.eyebrow.center-eyebrow{display:block;text-align:center;margin-bottom:14px}

.about-hero-logo{position:absolute;top:22px;right:26px;width:170px;height:auto;max-width:40vw;z-index:2;
  filter:drop-shadow(0 2px 10px rgba(0,0,0,.45))}
.about-intro{max-width:820px;margin:0 auto}
.about-intro h2{margin:.25em 0 .55em}
.about-intro p{font-size:16px;color:var(--muted)}

.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:36px}
.stat{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px 16px;text-align:center;
  box-shadow:0 6px 18px rgba(13,40,30,.04)}
.stat b{display:block;font-size:30px;color:var(--green-dark);line-height:1.1}
.stat span{display:block;margin-top:6px;font-size:13px;color:var(--muted)}

.about-quote{max-width:720px;margin:0 auto;text-align:center}
.about-quote blockquote{font-size:clamp(26px,4vw,40px);font-weight:700;color:var(--green-dark);
  margin:0 0 12px;line-height:1.2;font-family:"Segoe Script","Snell Roundhand","Bradley Hand",cursive}
.about-quote p{color:var(--muted)}

/* ===== global polish ===== */
.card{transition:transform .18s ease, box-shadow .18s ease}
.card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(13,40,30,.10)}
.faq-item,.service,.product{transition:transform .18s ease, box-shadow .18s ease}
.faq-item:hover,.service:hover,.product:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(13,40,30,.09)}
.section h2::after{content:"";display:block;width:46px;height:3px;background:var(--green);border-radius:3px;margin:12px 0 0}
.section h2.center::after{margin:14px auto 0}
.section h2:not(.center)::after{margin:12px 0 0}

@media(max-width:860px){
  .stats{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:480px){
  .stats{grid-template-columns:1fr}
}
