:root{
  --ink:#1d2129;--muted:#5d6573;--line:#dfe3ea;--bg:#f4f6f9;--card:#fff;
  --accent:#2f6fd6;--dark:#15181d;
}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:"Segoe UI",system-ui,-apple-system,Helvetica,Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.6}
img{max-width:100%;display:block}
a{color:var(--accent)}
.wrap{max-width:1080px;margin:0 auto;padding:0 24px}

/* header */
.site-header{background:var(--dark);color:#fff}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:64px}
.site-header a{color:#fff;text-decoration:none}
.brand{font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:15px}
.site-header nav a{margin-left:24px;font-size:14px;opacity:.8}
.site-header nav a:hover,.site-header nav a.active{opacity:1}

/* hero */
.hero{background:linear-gradient(160deg,#e9edf3,#c9d1dd);padding:64px 0}
.hero .wrap{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center}
.eyebrow{display:inline-block;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}
.badge{display:inline-block;background:var(--dark);color:#fff;font-size:12px;font-weight:600;letter-spacing:.1em;padding:4px 12px;border-radius:999px;margin-bottom:16px}
h1{font-size:clamp(34px,5vw,54px);line-height:1.08;letter-spacing:-.01em;margin-bottom:16px}
.lead{font-size:18px;color:var(--muted);max-width:34em}
.hero img{border-radius:16px;margin:0 auto;max-height:460px;width:auto}
.tagline{margin-top:20px;font-size:13px;letter-spacing:.3em;color:var(--muted)}

/* quick facts */
.facts{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.facts span{background:#fff;border:1px solid var(--line);border-radius:999px;padding:6px 14px;font-size:14px}

/* features */
section{padding:64px 0}
section.alt{background:#fff}
section.dark{background:var(--dark);color:#fff}
section.dark .muted{color:#aab2bf}
h2{font-size:30px;line-height:1.2;margin-bottom:8px}
.section-title{text-align:center;margin-bottom:40px}
.muted{color:var(--muted)}
.feature{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.feature.flip .feature-img{order:2}
.feature-img img{border-radius:14px;margin:0 auto;max-height:420px;width:auto}
.feature h3{font-size:26px;line-height:1.2;margin-bottom:10px}
.feature p{font-size:17px}
.kicker{font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:8px}
.pills{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}
.pills span{border:1px solid currentColor;border-radius:8px;padding:4px 12px;font-size:13px;font-weight:600;letter-spacing:.06em}

/* grids */
.grid{display:grid;gap:20px}
.grid.c2{grid-template-columns:repeat(2,1fr)}
.grid.c3{grid-template-columns:repeat(3,1fr)}
.grid.c4{grid-template-columns:repeat(4,1fr)}
.tile{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;text-align:center}
.tile img{width:100%;height:auto}
.tile p{padding:12px;font-weight:600;font-size:15px}

/* specs */
.specs{width:100%;max-width:760px;margin:0 auto;border-collapse:collapse;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 1px 0 var(--line)}
.specs th,.specs td{padding:14px 20px;text-align:left;border-bottom:1px solid var(--line);font-size:15px}
.specs th{width:40%;color:var(--muted);font-weight:600;text-transform:uppercase;font-size:12px;letter-spacing:.1em}
.specs tr:last-child th,.specs tr:last-child td{border-bottom:0}

.size-wrap{overflow-x:auto;margin:32px auto 0;max-width:960px}
.sizes{border-collapse:collapse;width:100%;background:#fff;font-size:14px;min-width:620px}
.sizes th,.sizes td{border:1px solid var(--line);padding:10px 8px;text-align:center}
.sizes th{background:#eef1f5;white-space:nowrap}
.note{font-size:13px;color:var(--muted);text-align:center;margin-top:12px}

/* services */
.services{max-width:760px;margin:0 auto}
.services p{margin-bottom:14px}
.services ol{margin:0 0 14px 22px}

/* index cards */
.products{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.product-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;text-decoration:none;color:inherit;transition:transform .2s,box-shadow .2s}
.product-card:hover{box-shadow:0 14px 34px rgba(20,30,50,.12)}
.product-card .img{background:linear-gradient(160deg,#e9edf3,#cbd3df);padding:28px;display:flex;justify-content:center;align-items:center;height:340px}
.product-card .img img{max-height:100%;width:auto}
.product-card .body{padding:24px 26px 28px}
.product-card h2{font-size:26px}
.product-card ul{list-style:none;margin:14px 0 20px}
.product-card li{padding:4px 0;border-bottom:1px dashed var(--line);font-size:15px}
.product-card .cta{font-weight:700;color:var(--accent)}

.site-footer{background:var(--dark);color:#aab2bf;font-size:14px;padding:28px 0;text-align:center}
.site-footer a{color:#fff}

@media (max-width:760px){
  .hero .wrap,.feature,.products{grid-template-columns:1fr}
  .feature.flip .feature-img{order:0}
  .grid.c3,.grid.c4{grid-template-columns:repeat(2,1fr)}
  section{padding:44px 0}
  .site-header nav a{margin-left:14px}
}

/* product detail pages: original design shown as-is */
.detail-page{background:#fff}
.detail-image{max-width:790px;margin:0 auto}
.detail-image img{width:100%;height:auto;display:block}
.back-bar{max-width:790px;margin:0 auto;padding:14px 16px;font-size:14px}

/* ---------- full-screen photo gallery ---------- */
.gallery-page{background:#fff;height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}
.g-bar{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;border-bottom:1px solid var(--line);flex:0 0 auto}
.g-back{background:var(--dark);color:#fff;text-decoration:none;font-weight:600;font-size:14px;padding:8px 16px;border-radius:999px}
.g-back:hover{background:#000}
.g-title{font-size:16px}
.g-title span{color:var(--muted);margin-left:6px}
.g-counter{font-size:14px;color:var(--muted);min-width:60px;text-align:right}
.g-stage{flex:1 1 auto;position:relative;display:flex;align-items:center;justify-content:center;min-height:0;padding:8px 72px}
.g-stage img{max-width:100%;max-height:100%;object-fit:contain;transition:opacity .2s;user-select:none}
.g-stage img.fading{opacity:.3}
.g-arrow{position:absolute;top:50%;transform:translateY(-50%);width:54px;height:54px;border-radius:50%;border:1px solid var(--line);background:rgba(255,255,255,.92);font-size:34px;line-height:1;color:var(--ink);cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.12);display:flex;align-items:center;justify-content:center;padding-bottom:4px}
.g-arrow:hover{background:var(--dark);color:#fff}
.g-prev{left:12px}.g-next{right:12px}
.g-foot{flex:0 0 auto;border-top:1px solid var(--line);padding:8px 16px 10px}
.g-chips{display:flex;gap:8px;justify-content:center;margin-bottom:8px;flex-wrap:wrap}
.chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:5px 14px;font-size:13px;cursor:pointer}
.chip.active{background:var(--dark);color:#fff;border-color:var(--dark)}
.g-thumbs{display:flex;gap:6px;overflow-x:auto;justify-content:safe center;scrollbar-width:thin}
.thumb{flex:0 0 auto;border:2px solid transparent;border-radius:6px;padding:0;background:none;cursor:pointer;opacity:.6}
.thumb img{width:72px;height:48px;object-fit:contain;background:#fff;border-radius:4px;display:block}
.thumb.active{border-color:var(--dark);opacity:1}
.thumb:hover{opacity:1}
@media (max-width:760px){
  .g-stage{padding:4px 8px}
  .g-arrow{width:42px;height:42px;font-size:28px}
  .g-prev{left:6px}.g-next{right:6px}
  .thumb img{width:56px;height:38px}
}

/* index card buttons */
.card-actions{display:flex;gap:10px;flex-wrap:wrap}
.btn{display:inline-block;text-decoration:none;font-weight:600;font-size:15px;padding:10px 18px;border-radius:999px}
.btn-primary{background:var(--dark);color:#fff}
.btn-primary:hover{background:#000}
.btn-secondary{border:1px solid var(--line);color:var(--ink);background:#fff}
.btn-secondary:hover{border-color:var(--ink)}
