/* =========================================================================
   SULING EXPRESS ELEVATOR — Thai brand site
   Premium charcoal + brass theme
   ========================================================================= */

:root {
  --bg-dark: #0e1220;
  --bg-dark-2: #141a2b;
  --bg-light: #f7f4ee;
  --bg-light-2: #efece4;
  --ink: #1c2026;
  --muted: #5d646f;
  --metal: #8a8f95;
  --gold: #b9a47a;
  --gold-strong: #a88f5d;
  --line-light: #e2ddd2;
  --white: #ffffff;
  --font-head: 'Prompt', 'Noto Sans Thai', -apple-system, sans-serif;
  --font-body: 'Noto Sans Thai', -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Noto Serif Thai', serif;
  --shadow: 0 18px 50px rgba(14, 18, 32, 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-light);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; font-weight: 600; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons & badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 14px 30px; border-radius: 4px;
  font-family: var(--font-head); font-weight: 500; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer; transition: all 0.35s var(--ease);
  letter-spacing: 0.3px;
}
.btn-gold { background: var(--gold); color: #16120a; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-strong); border-color: var(--gold-strong); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(185, 164, 122, 0.35); }
.btn-outline { background: transparent; color: var(--bg-light); border-color: rgba(247, 244, 238, 0.45); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--gold-strong); color: var(--gold-strong); transform: translateY(-2px); }
.btn-white { background: var(--bg-light); color: var(--bg-dark); border-color: var(--bg-light); }
.btn-white:hover { background: var(--gold); color: #16120a; border-color: var(--gold); transform: translateY(-2px); }

.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 3px;
  color: var(--gold-strong); text-transform: uppercase; margin-bottom: 16px;
}
.section-label::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

.section { padding: 96px 0; }
.section-dark { background: var(--bg-dark); color: var(--bg-light); }
.section-dark .section-label { color: var(--gold); }
.section-light { background: var(--bg-light); }
.section-light-2 { background: var(--bg-light-2); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .section-label { justify-content: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 18px; }
.section-dark .section-head h2 { color: var(--bg-light); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p { color: var(--metal); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(14, 18, 32, 0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(247, 244, 238, 0.08);
  transition: all 0.35s var(--ease);
}
.site-header.scrolled { background: rgba(11, 14, 26, 0.98); box-shadow: 0 8px 30px rgba(0,0,0,0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { width: 68px; height: 68px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(185,164,122,0.5)); }
.brand-text { line-height: 1.2; }
.brand-text strong { font-family: var(--font-head); color: var(--bg-light); font-size: 1.15rem; letter-spacing: 1px; display: block; }
.brand-text span { font-size: 0.72rem; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; }

.main-nav ul { display: flex; gap: 40px; }
.main-nav a {
  color: rgba(247,244,238,0.82); font-family: var(--font-head); font-weight: 400;
  font-size: 0.98rem; position: relative; padding: 6px 0; transition: color 0.3s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width 0.3s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-cta { display: inline-flex; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; position: relative; }
.nav-toggle span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--bg-light); transition: 0.3s; }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 30px; }
.nav-toggle.open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  padding: 160px 0 100px; overflow: hidden; isolation: isolate;
  background: var(--bg-dark);
}
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--bg-dark-2); overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(14,18,32,0.96) 0%, rgba(14,18,32,0.72) 45%, rgba(14,18,32,0.4) 100%);
}
.hero-grid { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head);
  letter-spacing: 3px; text-transform: uppercase; font-size: 0.82rem; color: var(--gold);
  border: 1px solid rgba(185,164,122,0.4); padding: 8px 16px; border-radius: 40px; margin-bottom: 28px;
}
.hero h1 { color: var(--bg-light); font-size: clamp(2.4rem, 5.4vw, 4.3rem); margin-bottom: 22px; max-width: 900px; }
.hero h1 .accent { color: var(--gold); }
.hero-sub { color: #cfd3da; font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 640px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px; margin-top: 70px; max-width: 760px;
  border-top: 1px solid rgba(247,244,238,0.15); padding-top: 34px;
}
.stat b { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--gold); }
.stat span { font-size: 0.9rem; color: var(--metal); }

/* ---------- Home intro block ---------- */
.intro-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.intro-media { position: relative; }
.intro-media img { width: 100%; height: 460px; object-fit: cover; box-shadow: var(--shadow); }
.intro-media::before {
  content: ""; position: absolute; top: -18px; right: -18px; width: 120px; height: 120px;
  border-top: 2px solid var(--gold); border-right: 2px solid var(--gold);
}
.intro-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 22px; }
.intro-copy p { color: var(--muted); margin-bottom: 16px; }
.intro-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0; }
.intro-point { display: flex; gap: 12px; align-items: flex-start; }
.intro-point .dot { width: 8px; height: 8px; margin-top: 9px; background: var(--gold); border-radius: 50%; flex: none; }
.intro-point b { display: block; font-family: var(--font-head); font-weight: 500; margin-bottom: 2px; }
.intro-point span { font-size: 0.9rem; color: var(--muted); }

/* ---------- Feature / value cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.feature-card {
  background: rgba(247,244,238,0.04); border: 1px solid rgba(247,244,238,0.1);
  padding: 34px 28px; transition: all 0.4s var(--ease); position: relative;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(185,164,122,0.5); background: rgba(247,244,238,0.06); }
.feature-card .num { font-family: var(--font-head); color: var(--gold); opacity: 0.7; font-size: 0.9rem; letter-spacing: 2px; }
.feature-card h3 { color: var(--bg-light); font-size: 1.25rem; margin: 14px 0 10px; }
.feature-card p { color: var(--metal); font-size: 0.95rem; }
.feature-card .ic { font-size: 2rem; margin-bottom: 8px; display: block; }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.product-card {
  background: var(--white); border: 1px solid var(--line-light); overflow: hidden;
  display: block; transition: all 0.4s var(--ease);
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: transparent; }
.prod-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(135deg, #1a2136, #0e1220); }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.product-card:hover .prod-thumb img { transform: scale(1.06); }
.prod-thumb .cat { position: absolute; top: 14px; left: 14px; background: var(--gold); color: #16120a; font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 1px; padding: 5px 10px; z-index: 2; }
.prod-body { padding: 24px 24px 26px; }
.prod-body h3 { font-size: 1.32rem; margin-bottom: 8px; transition: color 0.3s; }
.product-card:hover .prod-body h3 { color: var(--gold-strong); }
.prod-body p { color: var(--muted); font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--font-head); color: var(--gold-strong); font-size: 0.9rem; }
.prod-link::after { content: "→"; transition: transform 0.3s; }
.product-card:hover .prod-link::after { transform: translateX(5px); }

/* ---------- Product detail ---------- */
.page-hero {
  background: var(--bg-dark); position: relative; padding: 160px 0 84px; overflow: hidden;
}
.page-hero .ph-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero .ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(14,18,32,0.95), rgba(14,18,32,0.75)); }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.page-hero .ph-inner { position: relative; z-index: 2; }
.page-hero h1 { color: var(--bg-light); font-size: clamp(2rem, 4vw, 3.2rem); margin: 14px 0 12px; }
.page-hero p { color: var(--metal); max-width: 700px; }

.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-size: 0.85rem; font-family: var(--font-head); letter-spacing: 0.5px; }
.crumbs a { color: var(--metal); transition: color 0.3s; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--gold); }

.detail-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; }
.detail-gallery .main-img { background: linear-gradient(135deg, #1a2136, #0e1220); overflow: hidden; box-shadow: var(--shadow); }
.detail-gallery .main-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.detail-specs { background: var(--bg-light-2); border: 1px solid var(--line-light); padding: 34px 30px; position: sticky; top: 100px; }
.detail-specs h3 { font-size: 1.3rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.detail-specs h3::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.spec-list li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line-light); font-size: 0.95rem; }
.spec-list li:last-child { border-bottom: 0; }
.spec-list .k { color: var(--muted); }
.spec-list .v { font-family: var(--font-head); font-weight: 500; text-align: right; }
.detail-specs .quote-btn { width: 100%; margin-top: 8px; }
.detail-contact-note { margin-top: 22px; font-size: 0.88rem; color: var(--muted); text-align: center; }

.prose h2 { font-size: 1.7rem; margin: 44px 0 18px; display: flex; align-items: center; gap: 12px; }
.prose h2::before { content: ""; width: 20px; height: 2px; background: var(--gold); flex: none; }
.prose p { color: var(--muted); margin-bottom: 16px; }
.prose h3 { font-size: 1.2rem; margin: 26px 0 12px; }
.feat-list { margin: 20px 0; }
.feat-list li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-light); align-items: flex-start; }
.feat-list li::before { content: "◆"; color: var(--gold); font-size: 0.7rem; margin-top: 7px; }
.feat-list b { font-family: var(--font-head); font-weight: 500; }
.feat-list span { color: var(--muted); }

/* ---------- About ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about-media img { width: 100%; height: 520px; object-fit: cover; box-shadow: var(--shadow); }
.about-media { position: relative; }
.about-media::after { content: ""; position: absolute; bottom: -16px; left: -16px; width: 90px; height: 90px; border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.about-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 20px; }
.about-copy p { color: var(--muted); margin-bottom: 16px; }
.milestones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 30px; }
.milestone { border-left: 2px solid var(--gold); padding: 4px 0 4px 18px; }
.milestone b { font-family: var(--font-head); font-size: 1.15rem; color: var(--gold-strong); display: block; }
.milestone span { color: var(--muted); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--line-light); margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: var(--font-head); font-size: 1.08rem; padding: 22px 56px 22px 24px; position: relative; color: var(--ink); }
.faq-q::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold); transition: transform 0.3s; }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, #10141f, #171d2e); color: var(--bg-light);
  padding: 90px 0; position: relative; overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; top: -60px; right: -60px; width: 260px; height: 260px; border: 2px solid rgba(185,164,122,0.25); border-radius: 50%; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; position: relative; z-index: 2; }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; }
.cta-inner p { color: var(--metal); max-width: 560px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line-light); padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; }
.form-group label { font-family: var(--font-head); font-weight: 500; font-size: 0.92rem; margin-bottom: 8px; }
.form-group label .req { color: var(--gold-strong); }
.form-control {
  padding: 13px 16px; border: 1px solid var(--line-light); border-radius: 3px;
  font-family: var(--font-body); font-size: 1rem; transition: border-color 0.3s, box-shadow 0.3s;
  background: var(--bg-light);
}
.form-control:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(185,164,122,0.18); }
textarea.form-control { min-height: 140px; resize: vertical; }
/* honeypot - hidden from humans, visible to bots */
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; opacity: 0; overflow: hidden; }
.form-note { font-size: 0.85rem; color: var(--metal); margin-top: 12px; }
.form-alert { display: none; margin-top: 20px; padding: 16px 20px; border-radius: 4px; font-size: 0.98rem; }
.form-alert.success { display: block; background: #eef6ee; border: 1px solid #c6e2c6; color: #2a5c2a; }
.form-alert.error { display: block; background: #fbeeee; border: 1px solid #eccaca; color: #8f3030; }
.form-spin { display: none; }

.contact-side .info-card { background: var(--bg-dark); color: var(--bg-light); padding: 36px 32px; margin-bottom: 24px; }
.contact-side .info-card h3 { color: var(--gold); font-size: 1.2rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.contact-side .info-card h3::before { content: ""; width: 20px; height: 2px; background: var(--gold); flex: none; }
.contact-side .info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-side .info-item .ic { width: 38px; height: 38px; flex: none; border: 1px solid rgba(185,164,122,0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.1rem; }
.contact-side .info-item b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; }
.contact-side .info-item span { color: var(--metal); font-size: 0.92rem; }
.contact-side .hours { font-size: 0.88rem; color: var(--metal); border-top: 1px solid rgba(247,244,238,0.12); padding-top: 18px; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: #0a0d18; color: #9aa0ab; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 54px; }
.footer-brand .brand-text strong { color: var(--bg-light); }
.footer-brand p { margin-top: 18px; font-size: 0.95rem; color: var(--metal); max-width: 320px; }
.footer-col h4 { color: var(--bg-light); font-size: 1.05rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--gold); }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 0.95rem; color: var(--metal); transition: color 0.3s, padding-left 0.3s; }
.footer-col a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 0.93rem; align-items: flex-start; }
.footer-contact .ic { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(247,244,238,0.08); padding: 22px 0; text-align: center; font-size: 0.85rem; color: var(--metal); }
.footer-bottom a { color: var(--gold); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Misc ---------- */
.gotop { position: fixed; right: 26px; bottom: 26px; width: 46px; height: 46px; background: var(--gold); color: #16120a; border: 0; border-radius: 4px; font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 900; box-shadow: 0 10px 24px rgba(0,0,0,0.3); }
.gotop.show { opacity: 1; visibility: visible; }
.gotop:hover { background: var(--gold-strong); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .detail-wrap, .contact-grid, .intro-split, .about-split { grid-template-columns: 1fr; }
  .detail-specs { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 86px; left: 0; right: 0; background: rgba(11,14,26,0.98);
    max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); border-bottom: 1px solid rgba(247,244,238,0.08);
  }
  .main-nav.open { max-height: 460px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 12px 24px 24px; }
  .main-nav li { border-bottom: 1px solid rgba(247,244,238,0.06); }
  .main-nav a { display: block; padding: 16px 0; font-size: 1.05rem; }
  .main-nav a::after { display: none; }
  .header-cta .btn { display: none; }
  .section { padding: 72px 0; }
}
@media (max-width: 620px) {
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .intro-points, .milestones { grid-template-columns: 1fr; }
  .hero { padding-top: 140px; }
}