/*
Theme Name: LAB Electronics
Theme URI: https://labelectronics.co.th
Description: หจก.แล็บ อิเล็กทรอนิก — รับซ่อมโปรออดิโอและ R&D ครบวงจร
Author: LAB Electronics
Version: 1.2
Text Domain: lab-electronics
*/

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #080808;
  --white: #f5f4f0;
  --gray: #9a9890;
  --dim: #252422;
  --dim2: #3a3936;
  --red: #c8c6c0;
  --font: 'Barlow Condensed', sans-serif;
  --body: 'Barlow', sans-serif;
  --mono: 'DM Mono', monospace;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--body);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
  background: rgba(8,8,8,0.96);
  border-bottom: 1px solid var(--dim);
  backdrop-filter: blur(12px);
  gap: 24px;
}

/* โลโก้บริษัท */
.nav-logo {
  display: flex; align-items: center; flex-shrink: 0;
  text-decoration: none;
  height: 40px;
}
.nav-logo img {
  height: 40px; width: auto; display: block;
  object-fit: contain;
}
.nav-logo-placeholder {
  height: 40px; width: 140px;
  border: 1.5px dashed var(--dim2);
  display: flex; align-items: center; justify-content: center;
  gap: 8px; cursor: pointer; transition: border-color .2s;
}
.nav-logo-placeholder:hover { border-color: var(--gray); }
.nav-logo-placeholder span {
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--dim2);
}

/* เมนูหลัก */
.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  font-family: var(--font); font-size: 16px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray); text-decoration: none; transition: color .2s;
  padding: 6px 12px; display: flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
.nav-links > li > a:hover { color: var(--white); }
.nav-links > li > a .arrow {
  font-size: 8px; opacity: .5; transition: transform .2s;
}
.nav-links > li:hover > a .arrow { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: rgba(12,12,12,0.98);
  border: 1px solid var(--dim);
  min-width: 180px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  backdrop-filter: blur(12px);
}
.nav-links > li:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
  display: block; padding: 10px 18px;
  font-family: var(--font); font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--gray); text-decoration: none;
  border-bottom: 1px solid var(--dim);
  transition: background .15s, color .15s;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: rgba(255,255,255,.04); color: var(--white); }

/* User icon ขวาสุด */
.nav-user {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--dim2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color .2s, background .2s;
  flex-shrink: 0; position: relative;
  background: transparent;
  /* ไม่ใส่ overflow:hidden เพราะจะซ่อน dropdown */
}
.nav-user:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.nav-user svg { width: 18px; height: 18px; stroke: var(--gray); transition: stroke .2s; }
.nav-user:hover svg { stroke: var(--white); }
.nav-user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; display: block;
  position: absolute; inset: 0; margin: auto;
  pointer-events: none;
}

/* User dropdown */
.nav-user-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: rgba(12,12,12,0.98);
  border: 1px solid var(--dim);
  min-width: 160px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-user:hover .nav-user-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-user-dropdown a {
  display: block; padding: 10px 18px;
  font-family: var(--font); font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--gray); text-decoration: none;
  border-bottom: 1px solid var(--dim);
  transition: background .15s, color .15s;
  display: flex; align-items: center; gap: 8px;
}
.nav-user-dropdown a:last-child { border-bottom: none; }
.nav-user-dropdown a:hover { background: rgba(255,255,255,.04); color: var(--white); }
.nav-user-info {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--dim);
  pointer-events: none;
}
.nav-user-info-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.nav-user-info-avatar-default {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--dim2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font); font-size: 15px; font-weight: 700; color: var(--gray);
}
.nav-user-name {
  font-family: var(--font); font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--white);
}
.nav-user-logout { color: #f87171 !important; }
.nav-user-logout:hover { background: rgba(248,113,113,.08) !important; color: #f87171 !important; }

/* ── HERO SLIDER ── */
.hero {
  width: 100%;
  margin-top: 64px;
  border-bottom: 1px solid var(--dim);
}
.slider-wrap {
  position: relative;
  width: 100%;
  height: calc(100vw * 725 / 1920);
  min-height: 360px;
  max-height: 725px;
  overflow: hidden;
}
.slider-track {
  display: flex;
  height: 100%;
  transition: transform .7s cubic-bezier(.77,0,.18,1);
}
.slide {
  min-width: 100%; height: 100%;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
}
.slide-placeholder {
  width: 100%; height: 100%; background: var(--dim);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
}
.slide-placeholder-icon { font-size: 48px; opacity: .25; }
.slide-placeholder-label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim2); }
.slide-placeholder-hint { font-size: 12px; color: var(--dim2); }
/* ไม่มี overlay — ภาพแสดงเต็มๆ */
.slide-overlay { display: none; }
.slide-content { display: none; }
.slide-eyebrow, .slide-title, .slide-desc, .slide-actions { display: none; }

/* controls */
.slider-prev, .slider-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 44px; height: 44px;
  background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.2);
  color: var(--white); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.slider-prev:hover, .slider-next:hover { background: rgba(0,0,0,.7); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* dots */
.slider-dots {
  position: absolute; bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.slider-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer; transition: background .3s, transform .3s; border: none;
}
.slider-dot.active { background: var(--white); transform: scale(1.4); }
.slider-counter {
  position: absolute; bottom: 12px; right: 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  color: rgba(255,255,255,.45); z-index: 10;
}

/* stats bar — อยู่ใต้ภาพ ไม่ทับ */
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--dim);
  background: var(--bg);
}
.hstat { padding: 18px 36px; border-right: 1px solid var(--dim); }
.hstat:last-child { border-right: none; }
.hstat-num {
  font-family: var(--font); font-size: 32px; font-weight: 900;
  letter-spacing: -.02em; line-height: 1; margin-bottom: 3px;
}
.hstat-lbl { font-family: var(--mono); font-size: 9px; color: var(--gray); letter-spacing: .12em; text-transform: uppercase; }

/* ── BUTTONS ── */
.btn-red {
  font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--white); color: var(--bg);
  padding: 14px 32px; border: none; cursor: pointer; transition: background .2s;
}
.btn-red:hover { background: var(--gray); }
.btn-ghost {
  font-family: var(--font); font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: transparent; color: var(--white);
  padding: 13px 32px; border: 1px solid rgba(255,255,255,.2);
  cursor: pointer; transition: border-color .2s; text-decoration: none;
  display: inline-flex; align-items: center;
}
.btn-ghost:hover { border-color: var(--white); }
.ticker {
  overflow: hidden; border-bottom: 1px solid var(--dim);
  background: var(--dim2); padding: 13px 0;
}
.ticker-inner {
  display: flex; width: max-content;
  animation: tick 22s linear infinite;
  white-space: nowrap;
}
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--white);
  padding: 0 28px; display: flex; align-items: center; gap: 14px;
}
.ticker-sep { width: 4px; height: 4px; background: rgba(255,255,255,.45); border-radius: 50%; }

/* ── SERVICES ── */
.services { border-bottom: 1px solid var(--dim); }
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 40px 48px 36px;
  border-bottom: 1px solid var(--dim);
}
.sec-title {
  font-family: var(--font); font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: .95;
}
.sec-title .outline { color: transparent; -webkit-text-stroke: 1px var(--white); }
.sec-title .red { color: var(--white); }
.sec-sub { font-size: 13px; color: var(--gray); max-width: 220px; text-align: right; line-height: 1.75; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 40px 48px 48px; gap: 24px;
}
.svc {
  border: 1px solid var(--dim);
  transition: background .25s; cursor: default;
  display: flex; flex-direction: column;
}
.svc:hover { background: rgba(255,255,255,.025); }
/* service image slot */
.svc-img {
  width: 100%; aspect-ratio: 4/3; overflow: hidden;
  border-bottom: 1px solid var(--dim);
  position: relative;
}
.svc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.svc:hover .svc-img img { transform: scale(1.04); }
.svc-img .img-placeholder {
  border: none; border-bottom: none;
  aspect-ratio: 4/3; height: 100%;
}
.svc-content { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.svc-num { font-family: var(--mono); font-size: 10px; color: var(--dim2); letter-spacing: .15em; margin-bottom: 16px; }
.svc-bar { width: 28px; height: 2px; background: var(--white); margin-bottom: 14px; }
.svc-title {
  font-family: var(--font); font-size: 22px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em; margin-bottom: 10px;
}
.svc-desc { font-size: 13px; color: var(--gray); line-height: 1.8; }
.svc-list { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.svc-list li { font-size: 12px; color: var(--gray); display: flex; align-items: center; gap: 10px; }
.svc-list li::before { content: ''; width: 4px; height: 4px; background: var(--white); border-radius: 50%; flex-shrink: 0; }

/* ── GALLERY ── */
.gallery { border-bottom: 1px solid var(--dim); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 300px);
  padding: 24px 48px 40px;
  gap: 0;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-right: 1px solid var(--dim);
  border-bottom: 1px solid var(--dim);
  cursor: pointer;
  height: 300px;
}
.gallery-item:nth-child(4n) { border-right: none; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .img-placeholder { height: 100%; border: none; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0); transition: background .3s;
  display: flex; align-items: flex-end; padding: 16px;
}
.gallery-item:hover .gallery-overlay { background: rgba(0,0,0,.5); }
.gallery-caption {
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--white);
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s, transform .3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* ── BRANDS ── */
.brands { border-bottom: 1px solid var(--dim); }
.warranty-badge {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--dim2); padding: 16px 22px;
}
.warranty-icon {
  width: 38px; height: 38px; background: var(--dim2);
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.warranty-text { font-size: 12px; color: var(--gray); line-height: 1.65; }
.warranty-text strong { color: var(--white); font-weight: 600; display: block; font-size: 13px; margin-bottom: 2px; }
.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.brand-cell {
  padding: 22px 20px;
  border-right: 1px solid var(--dim);
  border-bottom: 1px solid var(--dim);
  transition: background .2s; cursor: default;
}
.brand-cell:hover { background: rgba(255,255,255,.04); }
.brand-cell.feat { background: rgba(255,255,255,.06); }
.bc-name {
  font-family: var(--font); font-size: 15px; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase; margin-bottom: 4px;
  color: rgba(255,255,255,.75);
}
.brand-cell.feat .bc-name { color: var(--white); }
.bc-tag { font-family: var(--mono); font-size: 9px; color: var(--gray); letter-spacing: .1em; text-transform: uppercase; }
.brand-cell.more {
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-size: 13px; font-style: italic;
}
.brand-footer {
  padding: 18px 48px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--dim);
  background: rgba(255,255,255,.02);
}
.bf-info { font-family: var(--mono); font-size: 11px; color: var(--gray); letter-spacing: .06em; }
.bf-info strong { color: var(--white); }

/* ── WHY US ── */
.why { border-bottom: 1px solid var(--dim); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--dim); }
.why-card {
  padding: 40px 32px;
  border-right: 1px solid var(--dim);
  transition: background .25s;
}
.why-card:last-child { border-right: none; }
.why-card:hover { background: rgba(255,255,255,.025); }
.why-icon { font-size: 28px; margin-bottom: 18px; }
.why-title {
  font-family: var(--font); font-size: 20px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em; margin-bottom: 10px;
}
.why-desc { font-size: 13px; color: var(--gray); line-height: 1.75; }

/* ── CONTACT ── */
.contact { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--dim); }
.contact-left { padding: 48px 48px; border-right: 1px solid var(--dim); }
.contact-title {
  font-family: var(--font); font-size: clamp(26px, 3vw, 40px);
  font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: .92;
  margin-bottom: 44px;
}
.contact-rows { display: flex; flex-direction: column; }
.contact-row {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--dim);
}
.cr-label {
  font-family: var(--mono); font-size: 10px; color: var(--gray);
  letter-spacing: .12em; text-transform: uppercase;
  width: 88px; flex-shrink: 0; padding-top: 2px;
}
.cr-val { font-size: 14px; color: var(--white); line-height: 1.75; }
.cr-val a { color: var(--white); text-decoration: none; transition: color .2s; }
.cr-val a:hover { color: var(--white); }
.contact-right { padding: 48px 48px; }
.form-heading {
  font-family: var(--font); font-size: 30px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em; margin-bottom: 32px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  font-family: var(--mono); font-size: 10px; color: var(--gray);
  letter-spacing: .12em; text-transform: uppercase;
  display: block; margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%; background: rgba(255,255,255,.04);
  border: 1px solid var(--dim2); color: var(--white);
  padding: 12px 16px; font-size: 14px; font-family: var(--body);
  outline: none; transition: border-color .2s; appearance: none;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: rgba(255,255,255,.25); }
.form-row textarea { height: 120px; resize: none; }
.form-row select option { background: #1a1a1a; color: var(--white); }
.form-row select optgroup {
  background: #2a2a2a;
  color: var(--gray);
  font-style: normal;
  font-weight: 700;
  letter-spacing: .08em;
  font-size: 11px;
  padding: 6px 0;
}
.form-row select optgroup option {
  background: #1a1a1a;
  color: var(--white);
  font-weight: 400;
  font-size: 13px;
  padding-left: 8px;
}
.form-submit {
  width: 100%; font-family: var(--font); font-size: 15px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--white); color: var(--bg);
  padding: 16px; border: none; cursor: pointer; transition: background .2s; margin-top: 8px;
}
.form-submit:hover { background: var(--gray); }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--dim); }
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px; border-bottom: 1px solid var(--dim);
}
.footer-social-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gray); margin-bottom: 8px;
}
.footer-social-links { display: flex; gap: 10px; align-items: center; }
.footer-social-links a {
  width: 32px; height: 32px; border: 1px solid var(--dim2);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--gray); font-size: 13px;
  transition: border-color .2s, color .2s;
}
.footer-social-links a:hover { border-color: var(--white); color: var(--white); }
.footer-scroll-top {
  width: 36px; height: 36px; border: 1px solid var(--dim2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--gray); font-size: 16px;
  transition: border-color .2s, color .2s; background: transparent;
}
.footer-scroll-top:hover { border-color: var(--white); color: var(--white); }
.footer-main {
  display: grid;
  grid-template-columns: 200px 1fr 1fr 1fr 1fr;
  gap: 40px; padding: 52px 48px 48px;
  border-bottom: 1px solid var(--dim);
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo-wrap {
  height: 44px; width: 160px;
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-wrap img { height: 44px; width: auto; object-fit: contain; }
.footer-logo-wrap span { font-family: var(--mono); font-size: 10px; color: var(--dim2); letter-spacing: .1em; }
.footer-tagline { font-size: 12px; color: var(--gray); line-height: 1.75; }
.footer-col h4 {
  font-family: var(--font); font-size: 18px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--white); margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 15px; color: var(--gray); text-decoration: none;
  transition: color .2s; display: flex; align-items: center; gap: 8px;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-col ul li a::before {
  content: ''; width: 3px; height: 3px; background: var(--dim2);
  border-radius: 50%; flex-shrink: 0; transition: background .2s;
}
.footer-col ul li a:hover::before { background: var(--white); }
.footer-bottom {
  padding: 18px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-family: var(--mono); font-size: 10px; color: var(--dim2); letter-spacing: .06em; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  font-family: var(--mono); font-size: 10px; color: var(--gray);
  text-decoration: none; letter-spacing: .06em; transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--white); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: fadeUp .6s ease both; }
.hero-title   { animation: fadeUp .7s ease .1s both; }
.hero-desc    { animation: fadeUp .7s ease .2s both; }
.hero-actions { animation: fadeUp .7s ease .3s both; }

/* ── R&D ── */
.rnd { border-bottom: 1px solid var(--dim); }
.rnd-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.rnd-card {
  padding: 40px 36px;
  border-right: 1px solid var(--dim);
  border-bottom: 1px solid var(--dim);
  transition: background .25s;
}
.rnd-card:nth-child(3n) { border-right: none; }
.rnd-card:nth-last-child(-n+3) { border-bottom: none; }
.rnd-card:hover { background: rgba(255,255,255,.025); }
.rnd-icon { font-size: 28px; margin-bottom: 16px; }
.rnd-title {
  font-family: var(--font); font-size: 20px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em; margin-bottom: 10px;
}
.rnd-desc { font-size: 13px; color: var(--gray); line-height: 1.75; }
.rnd-footer {
  padding: 18px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.02);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .slide-content { padding: 0 32px; }
  .slide-title { font-size: clamp(44px, 10vw, 72px); }
  .hero-stats { display: none; }
  .section-header { flex-direction: column; gap: 16px; padding: 48px 24px 36px; }
  .sec-sub { text-align: left; max-width: 100%; }
  .services-grid { grid-template-columns: 1fr; padding: 24px; gap: 16px; }
  .svc { border: 1px solid var(--dim); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .rnd-grid { grid-template-columns: repeat(2, 1fr); }
  .rnd-card:nth-child(3n) { border-right: 1px solid var(--dim); }
  .rnd-card:nth-child(2n) { border-right: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); padding: 16px 24px 32px; }
  .gallery-item.wide { grid-column: span 2; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card:nth-child(2) { border-right: none; }
  .contact { grid-template-columns: 1fr; }
  .contact-left { border-right: none; border-bottom: 1px solid var(--dim); padding: 48px 24px; }
  .contact-right { padding: 48px 24px; }
  footer { padding: 0; }
  .footer-top { padding: 16px 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; padding: 36px 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding: 20px 24px; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
}