/* Luminex Electrical — v2 design system */
:root {
  --accent: #db8118;
  --accent-dark: #b56a12;
  --accent-soft: #fdf3e6;
  --ink: #191b1e;
  --ink-2: #4a4f56;
  --ink-3: #8a9098;
  --paper: #ffffff;
  --paper-2: #f7f6f3;
  --line: #e9e6e0;
  --dark: #16181b;
  --dark-2: #1e2126;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-1: 0 1px 2px rgba(20,20,25,.05), 0 8px 24px rgba(20,20,25,.06);
  --shadow-2: 0 2px 4px rgba(20,20,25,.06), 0 18px 44px rgba(20,20,25,.12);
  --max: 1200px;
  --font: "Plus Jakarta Sans", "Roboto", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; color: var(--ink-2); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; font-family: var(--font);
  border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 6px 18px rgba(219,129,24,.32);
}
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(219,129,24,.4); color: #fff; }
.btn i { transition: transform .18s ease; }
.btn:hover i { transform: translateX(3px); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line); box-shadow: none;
}
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.btn-light:hover { background: var(--paper-2); color: var(--ink); }

/* Topbar */
.topbar { background: var(--dark); color: #b9bec5; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 9px; padding-bottom: 9px; gap: 8px; flex-wrap: wrap; }
.topbar strong { color: #fff; font-weight: 600; }
.topbar a { color: var(--accent); font-weight: 700; letter-spacing: .02em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 0; }
.logo img { height: 64px; width: auto; display: block; margin: -6px 0; mix-blend-mode: multiply; }
nav.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
nav.main-nav a {
  color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: 10px 15px; border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
nav.main-nav a:hover, nav.main-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-dark); }
li.has-dropdown { position: relative; }
li.has-dropdown > a i { font-size: .7rem; margin-left: 5px; opacity: .55; }
.dropdown {
  visibility: hidden; opacity: 0; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  position: absolute; top: calc(100% + 6px); left: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-2);
  min-width: 300px; padding: 10px; list-style: none; margin: 0;
  max-height: 68vh; overflow-y: auto;
  display: grid; gap: 2px;
}
li.has-dropdown:hover .dropdown, li.has-dropdown:focus-within .dropdown { visibility: visible; opacity: 1; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 12px; border-radius: 8px; font-weight: 500; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .phone-link { font-weight: 800; color: var(--ink); font-size: .95rem; }
.nav-cta .phone-link i { color: var(--accent); margin-right: 6px; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); padding: 8px; }

@media (max-width: 1020px) {
  .nav-cta .phone-link { display: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    padding: 14px 24px 24px; max-height: 78vh; overflow-y: auto;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav > ul { flex-direction: column; align-items: stretch; }
  nav.main-nav a { display: block; }
  .dropdown { visibility: visible; opacity: 1; transform: none; position: static; box-shadow: none; border: none; min-width: 0; padding-left: 14px; display: none; }
  li.has-dropdown.open .dropdown { display: grid; }
}

/* Hero */
.hero {
  position: relative; color: #fff;
  background-size: cover; background-position: center;
  padding: clamp(84px, 12vw, 150px) 0;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 90% at 78% 10%, rgba(219,129,24,.28), transparent 60%),
    linear-gradient(100deg, rgba(13,14,16,.93) 22%, rgba(13,14,16,.62) 58%, rgba(13,14,16,.38) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1, .hero p { color: #fff; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.82); max-width: 34em; }
.hero .eyebrow { color: var(--accent); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero-badges li {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-radius: 999px; padding: 9px 16px;
  font-size: .88rem; font-weight: 600; color: #fff;
}
.hero-badges li i { color: var(--accent); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius); padding: 30px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.hero-card h3 { color: #fff; margin-bottom: 4px; }
.hero-card .phone {
  display: block; font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 800;
  color: var(--accent); letter-spacing: -.01em; margin: 6px 0 10px;
}
.hero-card ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.hero-card li { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,.85); font-size: .93rem; }
.hero-card li i { color: var(--accent); font-size: .8rem; }

/* Stats strip */
.stats { border-bottom: 1px solid var(--line); background: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .stats .container { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 26px 18px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
@media (max-width: 760px) { .stat:nth-child(3) { border-left: none; } .stat { border-top: 1px solid var(--line); } .stat:nth-child(-n+2) { border-top: none; } }
.stat .num { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.stat .num span { color: var(--accent); }
.stat .label { font-size: .84rem; color: var(--ink-3); font-weight: 600; margin-top: 2px; }

/* Service cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.s-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex; flex-direction: column;
}
.s-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: transparent; }
.s-card .media { position: relative; aspect-ratio: 16/9.5; overflow: hidden; background: var(--paper-2); }
.s-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.s-card:hover .media img { transform: scale(1.06); }
.s-card .media .icon-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: var(--accent);
  background: linear-gradient(135deg, var(--accent-soft), #fff);
}
.s-card .body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.s-card p { font-size: .95rem; flex: 1; }
.s-card .more { font-weight: 700; color: var(--accent-dark); font-size: .93rem; display: inline-flex; align-items: center; gap: 7px; }
.s-card .more i { transition: transform .18s ease; font-size: .8rem; }
.s-card:hover .more i { transform: translateX(4px); }
.s-card > a.cover { position: absolute; inset: 0; z-index: 1; }

/* About split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); width: 100%; height: 100%; min-height: 320px; object-fit: cover; box-shadow: var(--shadow-2); }
.about-media .float-chip {
  position: absolute; left: -16px; bottom: 28px;
  background: #fff; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-2); padding: 14px 20px;
  display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .92rem;
}
.about-media .float-chip i { color: var(--accent); font-size: 1.3rem; }
@media (max-width: 860px) { .about-media .float-chip { left: 12px; } }
.value-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
@media (max-width: 480px) { .value-chips { grid-template-columns: 1fr; } }
.value-chip {
  display: flex; align-items: center; gap: 12px;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 700; font-size: .93rem;
}
.value-chip i { color: var(--accent); width: 20px; text-align: center; }

/* Values detail (about page) */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.value-card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 18px;
}
.value-card p { font-size: .94rem; margin: 0; }

/* FAQ */
.faq-wrap { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 24px; transition: box-shadow .2s ease;
}
.faq-item[open] { box-shadow: var(--shadow-1); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 700; font-size: 1.02rem; padding: 19px 0; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center; font-size: .75rem;
  transition: transform .25s ease;
}
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item p { padding-bottom: 20px; margin: 0; font-size: .96rem; }

/* Testimonials — horizontal snap scroller */
.t-scroll-wrap { position: relative; }
.t-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 82vw);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 4px;
  padding: 4px 4px 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--line);
}
.t-scroller::-webkit-scrollbar { height: 6px; }
.t-scroller::-webkit-scrollbar-track { background: var(--line); border-radius: 99px; }
.t-scroller::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 99px; }
.t-scroller .t-card { scroll-snap-align: start; }
.t-nav {
  display: flex; gap: 10px; justify-content: flex-end; margin-bottom: 22px;
}
.t-nav button {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  cursor: pointer; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.t-nav button:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.t-nav button:disabled { opacity: .35; cursor: default; }
.t-nav button:disabled:hover { background: #fff; border-color: var(--line); color: var(--ink); transform: none; }
.t-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 16px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.t-card .stars { color: var(--accent); font-size: .82rem; letter-spacing: 2px; }
.t-card blockquote { margin: 0; font-size: .97rem; color: var(--ink-2); flex: 1; }
.t-card .who { display: flex; align-items: center; gap: 12px; }
.t-card .who img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.t-card .who .name { font-weight: 700; font-size: .95rem; color: var(--ink); }
.t-card .who .src { font-size: .78rem; color: var(--ink-3); }
.t-card .who .src i { margin-right: 4px; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--dark); color: #fff; text-align: center;
  padding: clamp(64px, 9vw, 100px) 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 80% at 20% 100%, rgba(219,129,24,.22), transparent 60%),
    radial-gradient(50% 80% at 85% 0%, rgba(219,129,24,.16), transparent 60%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.72); max-width: 40em; margin-left: auto; margin-right: auto; }
.cta-band .btn { margin-top: 10px; }

/* Page hero (inner pages) */
.page-hero {
  position: relative; color: #fff;
  background: var(--dark);
  background-size: cover; background-position: center;
  padding: clamp(64px, 9vw, 110px) 0;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,14,16,.92) 25%, rgba(13,14,16,.55) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1, .page-hero p { color: #fff; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 38em; }
.breadcrumb { font-size: .84rem; margin-bottom: 16px; color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: #fff; }

/* Service detail */
.included-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.included-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; font-weight: 600; font-size: .97rem;
}
.included-list li i { color: var(--accent); margin-top: 4px; }
.side-card {
  position: sticky; top: 110px;
  background: var(--dark); color: #fff;
  border-radius: var(--radius); padding: 32px;
}
.side-card h3 { color: #fff; }
.side-card .phone { display: block; font-size: 1.7rem; font-weight: 800; color: var(--accent); margin: 6px 0 12px; }
.side-card p { color: rgba(255,255,255,.72); font-size: .92rem; }
.detail-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
@media (max-width: 820px) { .detail-grid { grid-template-columns: 1fr; } .side-card { position: static; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item .ic {
  flex: none; width: 46px; height: 46px; border-radius: 13px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-item strong { display: block; color: var(--ink); }
.contact-item span, .contact-item a { font-size: .95rem; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-1); }

/* Forms */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 700; margin-bottom: 7px; font-size: .87rem; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font); font-size: .95rem; color: var(--ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(219,129,24,.15);
}
.form-field textarea { min-height: 110px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--dark); color: #a9aeb5; padding: clamp(56px, 8vw, 84px) 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; letter-spacing: .02em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: #a9aeb5; transition: color .15s ease; }
.site-footer a:hover { color: var(--accent); }
.footer-brand p { color: #a9aeb5; }
.social-icons { display: flex; gap: 10px; margin-top: 18px; }
.social-icons a {
  width: 38px; height: 38px; border: 1px solid #33373d; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.social-icons a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); color: #fff; }
.footer-bottom {
  border-top: 1px solid #2a2e33; margin-top: 48px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .82rem; color: #7c828a;
}
.footer-bottom a { color: #7c828a; text-decoration: underline; }

/* Modal */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(12,13,15,.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius); max-width: 500px; width: 100%;
  padding: 36px; position: relative; max-height: 90vh; overflow-y: auto;
  animation: modalIn .28s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper-2); border: none; cursor: pointer;
  color: var(--ink-2); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--line); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
