/* YSAP Power — brand + inquiry landing. Palette: deep navy + amber energy accent. */
:root {
  --navy: #12233d;
  --navy2: #1d3a5f;
  --ink: #22303f;
  --muted: #5b6b7d;
  --line: #e3e9f0;
  --bg: #ffffff;
  --tint: #f5f8fb;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --ok: #15803d;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 35, 61, .10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { color: var(--navy); line-height: 1.25; }
h2 { font-size: 30px; margin-bottom: 8px; }
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }
.section-sub { color: var(--muted); max-width: 720px; margin-bottom: 32px; }
.fine { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.kicker { letter-spacing: .18em; font-size: 12px; color: var(--accent-dark); font-weight: 700; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.bar-inner { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--navy); }
.brand-logo { width: 34px; height: 34px; border-radius: 8px; background: var(--navy); color: var(--accent); display: grid; place-items: center; font-size: 18px; }
.brand-text { font-size: 16px; letter-spacing: .04em; }
.brand-text strong { color: var(--accent-dark); }
.nav { display: flex; gap: 18px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav a:hover { color: var(--accent-dark); }
.bar-right { display: flex; align-items: center; gap: 10px; }
#langSel { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 13.5px; }

/* Buttons */
.btn { display: inline-block; padding: 11px 22px; border-radius: 10px; font-weight: 600; font-size: 14.5px; text-decoration: none; border: 0; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-main { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(245,158,11,.35); }
.btn-main:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-wa { background: #25d366; color: #fff; }

/* Hero */
.hero { padding: 72px 0 60px; background: linear-gradient(160deg, #ffffff 55%, #f0f5fa 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 40px; margin: 12px 0 14px; }
.hero-sub { color: var(--muted); font-size: 16.5px; max-width: 540px; }
.hero-cta { display: flex; gap: 12px; margin: 24px 0 18px; flex-wrap: wrap; }
.hero-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.badges { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; }
.badges li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--navy2); font-weight: 600; }

/* PRO features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feat h3 { font-size: 17px; margin: 10px 0 8px; }
.feat .ico { width: 40px; height: 40px; border-radius: 10px; background: #fef3c7; color: var(--accent-dark); display: grid; place-items: center; font-size: 20px; }
.feat p { font-size: 14px; color: var(--muted); }

/* Products */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s ease, transform .15s ease; }
.prod-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.prod-card img { width: 100%; height: 210px; object-fit: cover; background: #fff; }
.prod-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-body h3 { font-size: 19px; }
.prod-tag { font-size: 13px; color: var(--accent-dark); font-weight: 600; }
.prod-specs { font-size: 13px; color: var(--muted); }
.prod-from { margin-top: auto; font-size: 14px; color: var(--muted); }
.prod-from strong { font-size: 22px; color: var(--navy); }
.prod-actions { display: flex; gap: 8px; }
.prod-actions .btn { padding: 9px 14px; font-size: 13.5px; }

/* Freight */
.freight-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.freight-form { display: grid; grid-template-columns: 1.2fr .6fr 1fr .8fr auto; gap: 14px; align-items: end; }
.freight-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.freight-form select, .freight-form input, .inquiry-form select, .inquiry-form input, .inquiry-form textarea {
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; font-size: 14.5px; font-family: inherit; background: #fff; color: var(--ink); width: 100%;
}
.freight-out { margin-top: 20px; border-top: 1px dashed var(--line); padding-top: 18px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.stat { background: var(--tint); border-radius: 10px; padding: 14px; }
.stat .lab { font-size: 12px; color: var(--muted); font-weight: 600; }
.stat .val { font-size: 20px; font-weight: 700; color: var(--navy); margin-top: 2px; }
.stat .sub { font-size: 12px; color: var(--muted); }
.warn { margin-top: 14px; background: #fef3c7; border: 1px solid #fde68a; color: #92400e; border-radius: 10px; padding: 10px 14px; font-size: 13.5px; }

/* Company */
.company-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: start; }
.company-copy p { color: var(--muted); margin-bottom: 14px; }
.addr { background: var(--tint); border-radius: 10px; padding: 16px 18px; margin-top: 10px; }
.addr h3 { font-size: 14px; margin-bottom: 4px; }
.addr p { font-size: 13.5px; color: var(--muted); }
.company-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.company-photos figure:first-child { grid-column: 1 / -1; }
.company-photos img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; display: block; }
.company-photos figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* Inquiry */
.inquiry-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.inquiry-copy p { color: var(--muted); margin-bottom: 16px; }
.contact-lines { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.mail-direct { color: var(--navy2); font-weight: 600; }
.inquiry-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inquiry-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.inquiry-form label:nth-child(5) { grid-column: 1 / -1; }
.inquiry-form label:nth-child(6) { grid-column: 1 / -1; }
.inq-actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--navy); color: #cdd8e6; padding: 36px 0 28px; }
.foot-tag { font-weight: 600; margin-bottom: 12px; color: #fff; }
.footer .fine { color: #8fa3ba; margin-top: 8px; }
.foot-rights { margin-top: 16px; font-size: 13px; color: #8fa3ba; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(10, 20, 35, .55); display: grid; place-items: center; z-index: 100; padding: 20px; }
.modal[hidden] { display: none; }
.modal-card { background: #fff; border-radius: var(--radius); max-width: 860px; width: 100%; max-height: 86vh; overflow: auto; padding: 26px; position: relative; }
.modal-x { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 26px; cursor: pointer; color: var(--muted); }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13.5px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.spec-table th { background: var(--tint); color: var(--navy); white-space: nowrap; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; }
.price-table th, .price-table td { border: 1px solid var(--line); padding: 8px 10px; }
.price-table th { background: var(--tint); color: var(--navy); }
.price-table td.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Responsive */
@media (max-width: 920px) {
  .hero-grid, .company-grid, .inquiry-grid { grid-template-columns: 1fr; }
  .feat-grid, .prod-grid { grid-template-columns: 1fr 1fr; }
  .freight-form { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 600px) {
  .feat-grid, .prod-grid { grid-template-columns: 1fr; }
  .freight-form { grid-template-columns: 1fr; }
  .inquiry-form { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
}
