/* Shihlin Electric Indonesia - shihlinelektrik.com
   Single static stylesheet ported from the site model (app/globals.css). */

:root {
  --red: #df1f2d;
  --ink: #101820;
  --muted: #66717b;
  --line: #dce1e4;
  --paper: #f3f3f0;
  --white: #fff;
  --blue: #075ba7;
  --blue-bright: #0876cf;
  --navy: #071b31;
  --sky: #eef7fd;
  --primary: var(--blue);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
section[id], footer[id] { scroll-margin-top: 16px; }

.shell { width: min(1220px, calc(100% - 64px)); margin: auto; }
.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- Navigation ---------- */
.nav { height: 88px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 10; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 900; letter-spacing: .08em; font-size: 20px; line-height: .82; }
.brand small { display: block; font-size: 8px; letter-spacing: .2em; margin-top: 8px; }
.brand-mark { display: flex; gap: 3px; align-items: end; width: 30px; height: 32px; transform: skew(-19deg); }
.brand-mark i { display: block; background: var(--red); width: 7px; }
.brand-mark i:nth-child(1) { height: 14px; }
.brand-mark i:nth-child(2) { height: 23px; }
.brand-mark i:nth-child(3) { height: 32px; }
.navlinks { display: flex; gap: 35px; }
.navlinks a { color: #3a4249; text-decoration: none; font-size: 13px; font-weight: 700; }
.navlinks a:hover { color: var(--primary); }
.contact { height: 42px; padding: 0 18px; display: flex; align-items: center; gap: 12px; background: var(--primary); color: #fff; text-decoration: none; font-size: 12px; font-weight: 700; transition: background .2s; }
.contact:hover { background: var(--blue-bright); }
.menu { display: none; background: none; border: 0; cursor: pointer; color: var(--ink); padding: 6px; }
.menu .icon { width: 24px; height: 24px; }
.menu[aria-expanded="true"] .i-open, .menu[aria-expanded="false"] .i-close { display: none; }

/* ---------- Hero ---------- */
.hero-copy-mobile { display: none; }
.hero-campaign { background: var(--navy); overflow: hidden; border-top: 1px solid #d7e1e9; }
.hero-campaign img { display: block; width: 100%; height: auto; }
.hero-rail { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 35px; padding-top: 25px; padding-bottom: 28px; }
.hero-rail > p { color: var(--muted); font-size: 14px; margin: 0; }
.hero-rail h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.hero-actions { display: flex; gap: 12px; margin: 0; }
.btn { display: flex; align-items: center; gap: 15px; padding: 16px 20px; text-decoration: none; font-size: 12px; font-weight: 800; transition: .2s; }
.btn.primary { background: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--blue-bright); }
.btn.secondary { border: 1px solid var(--line); color: var(--ink); }
.btn.secondary:hover { border-color: var(--primary); color: var(--primary); }
.trust { grid-column: 1 / -1; margin-top: 25px; display: flex; gap: 35px; border-top: 1px solid var(--line); padding-top: 22px; color: #7a838a; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.trust b { color: var(--ink); font-size: 14px; margin-right: 5px; }

/* ---------- Shared type ---------- */
.eyebrow { font-size: 10px; letter-spacing: .22em; font-weight: 800; display: flex; align-items: center; gap: 10px; margin: 0; }
.eyebrow span { width: 27px; height: 2px; background: var(--primary); }
.eyebrow.light { color: #c0c6c9; }
.section-head h2, .catalog h2, .support h2, .about h2 { font-size: clamp(46px, 5.6vw, 78px); letter-spacing: -.055em; line-height: .98; margin: 25px 0; }

/* ---------- Statement band ---------- */
.statement { background: var(--navy); color: #fff; padding: 80px 0; }
.statement-inner { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 40px; }
.statement-inner > p { color: #9da5aa; font-size: 12px; margin: 0; }
.statement h2 { font-size: 35px; line-height: 1.25; margin: 0; letter-spacing: -.035em; }
.statement-badge { display: flex; gap: 15px; align-items: center; font-size: 10px; color: #9da5aa; line-height: 1.7; }
.statement-badge .icon { color: var(--primary); width: 36px; height: 36px; }
.statement-badge b { color: #fff; }

/* ---------- Product portfolio ---------- */
.products { padding: 120px 0; }
.section-head { display: grid; grid-template-columns: 2fr 1fr; align-items: end; margin-bottom: 60px; }
.section-head h2 { font-size: 58px; }
.section-head > p { font-size: 15px; line-height: 1.7; color: var(--muted); padding-bottom: 15px; margin: 0; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category { background: #fff; color: inherit; font: inherit; text-align: left; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px; min-height: 390px; position: relative; cursor: pointer; transition: .25s; }
.category:hover { background: var(--sky); transform: translateY(-3px); }
.cat-num { font-size: 10px; color: #899196; }
.product-photo { height: 155px; margin: 14px -10px 20px; display: flex; align-items: center; justify-content: center; position: relative; background: linear-gradient(145deg, #fff, #eaf4fb); overflow: hidden; }
.product-photo img { width: 90%; height: 90%; object-fit: contain; mix-blend-mode: multiply; transition: .35s; }
.product-photo span { position: absolute; inset: auto 0 0; background: var(--primary); color: #fff; padding: 9px 12px; font-size: 9px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; transform: translateY(100%); transition: .25s; }
.category:hover .product-photo img { transform: scale(1.06); }
.category:hover .product-photo span { transform: translateY(0); }
.category h3 { font-size: 20px; margin: 0 0 12px; }
.category p { font-size: 12px; line-height: 1.6; color: var(--muted); max-width: 300px; margin: 0; }
.category footer { position: absolute; left: 28px; right: 28px; bottom: 25px; display: flex; justify-content: space-between; color: #777f84; font-size: 10px; }
.category footer .icon { color: var(--primary); width: 17px; height: 17px; }
.image-credit { text-align: right; color: #8b9398; font-size: 9px; margin: 15px 0 0; }

/* ---------- Technical catalogue ---------- */
.catalog { background: var(--navy); color: #fff; padding: 115px 0; }
.catalog-head { display: grid; grid-template-columns: 1.6fr 1fr; align-items: end; gap: 60px; }
.catalog h2 { font-size: 62px; }
.catalog-head > p { color: #9aa3a9; line-height: 1.7; font-size: 14px; margin: 0 0 26px; }
.finder { margin-top: 50px; }
.search { height: 58px; background: #fff; display: flex; align-items: center; color: #636d73; padding: 0 20px; gap: 13px; }
.search .icon { width: 19px; height: 19px; }
.search input { border: 0; outline: 0; font-size: 14px; flex: 1; color: #172027; background: transparent; min-width: 0; }
.filter { display: flex; align-items: center; gap: 10px; margin: 24px 0 14px; overflow: auto; padding-bottom: 4px; }
.filter > .icon { margin-right: 8px; color: #7c858b; width: 17px; height: 17px; }
.filter button { border: 1px solid #3d464c; background: transparent; color: #abb2b7; padding: 9px 14px; font-size: 11px; cursor: pointer; white-space: nowrap; transition: .2s; }
.filter button:hover { border-color: #7c858b; color: #fff; }
.filter button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
#catalog-status { margin: 0 0 12px; }
.table-wrap { overflow: auto; border: 1px solid #343d44; }
table { width: 100%; border-collapse: collapse; min-width: 900px; }
th { text-align: left; color: #899298; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; padding: 15px 18px; border-bottom: 1px solid #343d44; }
td { padding: 18px; color: #cbd0d3; font-size: 12px; border-bottom: 1px solid #2c353b; vertical-align: top; }
tr:hover td { background: #1b252d; }
tr[hidden] { display: none; }
.code { color: #fff; font-weight: 800; font-size: 14px; display: block; }
td small { color: #49aafa; font-size: 8px; text-transform: uppercase; }
.empty { padding: 40px; text-align: center; color: #a4adb2; margin: 0; }
.empty[hidden] { display: none; }
.catalog-note { color: #778188; font-size: 9px; margin: 15px 0 0; }

/* ---------- Project support ---------- */
.support { padding: 110px 0; }
.support-panel { background: linear-gradient(125deg, var(--blue), #083e74); color: #fff; padding: 65px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; position: relative; overflow: hidden; }
.support-panel::after { content: ""; position: absolute; width: 320px; height: 320px; border: 65px solid #5eb6f533; border-radius: 50%; right: -180px; bottom: -180px; }
.support .eyebrow span, .catalog .eyebrow span { background: #63b9ef; }
.support h2 { font-size: 55px; }
.support-copy { padding-top: 35px; }
.support-copy p { font-size: 14px; line-height: 1.75; color: #dcedfb; margin: 0; }
.support-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.support-copy a { display: inline-flex; color: #fff; text-decoration: none; align-items: center; gap: 12px; border-bottom: 1px solid #fff8; padding-bottom: 8px; font-size: 12px; font-weight: 800; margin-top: 16px; }
.support-copy a:hover { border-color: #fff; }
.support-list { grid-column: 1 / -1; border-top: 1px solid #fff5; display: flex; gap: 45px; padding-top: 22px; position: relative; }
.support-list span { font-size: 9px; color: #bcdcf5; }
.support-list b { color: #fff; font-size: 11px; margin-left: 8px; }

/* ---------- About ---------- */
.about { padding: 0 0 110px; }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; border-top: 1px solid var(--line); padding-top: 70px; }
.about h2 { font-size: 52px; }
.about-copy p { font-size: 15px; line-height: 1.75; color: var(--muted); margin: 12px 0 28px; }
.about-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.about-facts li { border-left: 2px solid var(--primary); padding-left: 16px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.about-facts b { display: block; color: var(--ink); font-size: 13px; }

/* ---------- Footer ---------- */
.footer { background: #051426; color: #fff; padding: 60px 0 25px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: start; gap: 40px; }
.brand.inverse { color: #fff; }
.footer-top p { color: #7e898f; font-size: 12px; line-height: 1.7; margin: 18px 0 0; max-width: 360px; }
.footer-contact { font-size: 12px; color: #7e898f; line-height: 1.9; }
.footer-contact b { display: block; color: #fff; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-contact a:hover { color: #63b9ef; }
.back { color: #fff; font-size: 11px; text-decoration: none; white-space: nowrap; }
.footer-bottom { border-top: 1px solid #283139; margin-top: 50px; padding-top: 20px; display: flex; justify-content: space-between; color: #5e686e; font-size: 9px; gap: 20px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: flex; align-items: center; gap: 9px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #25d366; color: #fff; text-decoration: none; font-size: 12px; font-weight: 800; box-shadow: 0 10px 24px #0a3d1f4d; transition: transform .2s, box-shadow .2s; }
.wa-float .icon { width: 22px; height: 22px; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 28px #0a3d1f59; }

/* ---------- Responsive ---------- */
@media (max-width: 850px) {
  .shell { width: min(100% - 34px, 1220px); }
  .nav { height: 72px; }
  .navlinks { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 25px; flex-direction: column; box-shadow: 0 12px 25px #0002; }
  .navlinks.open { display: flex; }
  .contact { display: none; }
  .menu { display: block; }
  header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
  .navlinks { top: 71px; gap: 4px; padding: 12px 18px 18px; }
  .navlinks a { display: block; padding: 12px 4px; font-size: 15px; border-bottom: 1px solid var(--line); }
  .navlinks a:last-child { border-bottom: 0; }
  .search input { font-size: 16px; }
  .filter { gap: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .filter::-webkit-scrollbar { display: none; }
  .filter button { padding: 11px 15px; font-size: 12px; }
  .support-panel { padding: 34px 24px; }
  .support-links { flex-direction: column; gap: 6px; align-items: flex-start; }
  .wa-float { right: 14px; bottom: 14px; padding: 12px 16px 12px 13px; }
  .hero-campaign { width: 100%; }
  .hero-rail { grid-template-columns: 1fr; padding-top: 22px; }
  .hero-rail .hero-actions { margin-top: 18px; }
  .hero-rail .trust { margin-top: 22px; gap: 15px; flex-wrap: wrap; }
  .statement-inner, .section-head, .catalog-head, .about-grid { grid-template-columns: 1fr; }
  .statement-inner { gap: 20px; }
  .products { padding: 80px 0; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .support-panel { grid-template-columns: 1fr; padding: 38px; }
  .support-copy { padding-top: 0; }
  .support-list { flex-wrap: wrap; }
  .about-grid { gap: 30px; padding-top: 50px; }
  .about { padding-bottom: 70px; }
  .footer-top { grid-template-columns: 1fr; gap: 25px; }
}

@media (max-width: 700px) {
  table { min-width: 0; }
  thead { display: none; }
  table, tbody, tr, td { display: block; }
  tr { padding: 16px 16px 12px; border-bottom: 1px solid #2c353b; }
  tr:last-child { border-bottom: 0; }
  tr:hover td { background: transparent; }
  td { padding: 5px 0; border: 0; display: grid; grid-template-columns: 96px 1fr; gap: 12px; font-size: 13px; line-height: 1.45; }
  td::before { content: attr(data-label); color: #899298; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; padding-top: 4px; }
  td:first-child { display: block; padding: 0 0 8px; }
  td:first-child::before { display: none; }
  .code { font-size: 17px; }
  .catalog { padding: 80px 0; }
  .finder { margin-top: 34px; }
}

@media (max-width: 540px) {
  .hero-campaign { padding-top: 28px; }
  .hero-campaign picture, .hero-campaign img { display: block; width: 100%; height: auto; }
  .hero-copy-mobile { display: block; color: #fff; padding: 0 20px 4px; }
  .hero-copy-mobile b { display: block; font-size: 40px; line-height: .9; letter-spacing: -.02em; }
  .hero-copy-mobile b span { display: block; font-size: 15px; letter-spacing: .08em; margin-top: 8px; }
  .hero-copy-mobile p { margin: 16px 0 0; font-size: 21px; font-weight: 900; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; }
  .hero-copy-mobile em { color: var(--red); font-style: normal; }
  .hero-rail { padding-top: 20px; }
  .products { padding: 60px 0; }
  .section-head { margin-bottom: 34px; }
  .category { min-height: 0; padding: 22px 22px 66px; }
  .category footer { left: 22px; right: 22px; bottom: 22px; }
  .catalog h2, .support h2, .about h2 { font-size: 40px; }
  .about-grid { padding-top: 40px; }
  .footer-top > div:first-child { padding-right: 0; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-rail .btn { justify-content: space-between; }
  .hero-rail .trust { gap: 10px; }
  .category-grid { grid-template-columns: 1fr; }
  .section-head h2, .catalog h2, .support h2, .about h2 { font-size: 42px; }
  .statement { padding: 60px 0; }
  .statement h2 { font-size: 29px; }
  .support { padding: 55px 0; }
  .support-list { flex-direction: column; gap: 15px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .category, .product-photo img, .product-photo span, .btn, .contact { transition: none; }
  .category:hover { transform: none; }
}

/* ---------- Catalogues & documents ---------- */
.downloads { padding: 0 0 110px; }
.downloads .section-head { border-top: 1px solid var(--line); padding-top: 70px; }
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: start; }
.doc-card { border: 1px solid var(--line); padding: 26px 26px 20px; background: #fff; }
.doc-card h3 { font-size: 19px; margin: 0 0 10px; letter-spacing: -.02em; }
.doc-card > p { font-size: 12px; line-height: 1.65; color: var(--muted); margin: 0 0 18px; }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li + li { border-top: 1px solid var(--line); }
.doc-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 0; text-decoration: none; color: var(--ink); font-size: 13px; font-weight: 700; }
.doc-list a:hover .doc-name { color: var(--primary); }
.doc-name { flex: 1; min-width: 0; }
.doc-name::before { content: ""; display: inline-block; width: 8px; height: 10px; margin-right: 10px; border: 2px solid var(--red); border-radius: 1px; vertical-align: -1px; }
.doc-meta { color: #8b9398; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.doc-card details { border-top: 1px solid var(--line); margin-top: 6px; }
.doc-card summary { cursor: pointer; list-style: none; padding: 12px 0; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #3a4249; display: flex; align-items: center; gap: 10px; }
.doc-card summary::-webkit-details-marker { display: none; }
.doc-card summary::before { content: "+"; width: 18px; height: 18px; border: 1px solid var(--line); display: inline-grid; place-items: center; font-size: 13px; color: var(--primary); }
.doc-card details[open] summary::before { content: "\2013"; }
.doc-card summary span { color: #8b9398; font-weight: 700; }
.doc-card details .doc-list { padding-bottom: 10px; }
.doc-card details .doc-list a { font-weight: 400; font-size: 12px; padding: 8px 0; }
.image-credit a { color: inherit; }
td .doc { display: block; width: max-content; margin-top: 6px; font-size: 10px; font-weight: 700; color: #49aafa; text-decoration: none; border-bottom: 1px solid #49aafa55; }
td .doc:hover { color: #fff; border-color: #fff; }
@media (max-width: 850px) {
  .doc-grid { grid-template-columns: 1fr; }
  .downloads .section-head { padding-top: 50px; }
  .downloads { padding-bottom: 70px; }
  .doc-card { padding: 20px 18px 14px; }
}
