/* =============================================
   DoWin Leather — Corporate Site Stylesheet
   ============================================= */

:root {
  --primary: #7B3F1D;      /* rich brown */
  --primary-light: #A0522D;
  --primary-dark: #5C2D0E;
  --accent: #C8922A;        /* warm gold */
  --accent-light: #E8B84B;
  --secondary: #1A1A1A;
  --text: #2D2D2D;
  --text-light: #6B6B6B;
  --text-muted: #9B9B9B;
  --bg: #FFFFFF;
  --bg-alt: #FAF7F2;        /* warm cream */
  --bg-warm: #F5EDE4;
  --border: #E8DDD0;
  --border-dark: #C9B99A;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --max-w: 1200px;
  --nav-h: 72px;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
input, textarea, select { font-family: inherit; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 4px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-mark {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  text-align: center;
  line-height: 28px;
  font-size: 1rem;
  margin-right: 4px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(123,63,29,0.06);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-wrap select {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  background: var(--bg);
  cursor: pointer;
  color: var(--text);
}

.btn-nav-quote {
  display: inline-block;
  padding: 8px 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-nav-quote:hover { background: var(--primary-dark); }

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text);
  margin-left: auto;
  background: none;
  border: none;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-bg { width: 100%; height: 100%; }

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,24,16,0.75) 0%, rgba(92,51,23,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(200,146,42,0.25);
  border: 1px solid rgba(200,146,42,0.5);
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: #fff;
}
.hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,146,42,0.35);
}
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.7);
}
.btn-lg { padding: 14px 36px; font-size: 1rem; }

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== INTRO STRIP ===== */
.intro-strip {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.intro-text {
  font-size: 1rem;
  color: var(--text-light);
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== SECTIONS ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
}

/* ===== CATEGORIES ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}
.cat-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.cat-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.cat-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}
.cat-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
}
.cat-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s;
}
.cat-card:hover .cat-link { color: var(--primary); }

/* ===== ADVANTAGES ===== */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.adv-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
}
.adv-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.adv-icon { font-size: 2.5rem; margin-bottom: 12px; }
.adv-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}
.adv-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 56px;
  align-items: center;
}
.about-text p {
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 18px;
  font-size: 1rem;
}
.about-text strong { color: var(--text); }

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-warm), var(--border));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--border-dark);
  gap: 12px;
}
.about-img-placeholder p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.stat-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.certs-section { text-align: center; margin-bottom: 48px; }
.certs-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 16px;
}
.certs-list { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cert-badge {
  padding: 8px 20px;
  background: var(--bg);
  border: 1.5px solid var(--border-dark);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.timeline { margin-top: 40px; }
.timeline h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 24px;
  text-align: center;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.timeline-track::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--border-dark);
}
.timeline-item {
  text-align: center;
  position: relative;
  padding-top: 36px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg-alt);
  box-shadow: 0 0 0 2px var(--accent);
}
.tl-year {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.tl-text {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
  padding: 0 8px;
}

/* ===== PRODUCTS ===== */
.prod-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  background: var(--bg);
  transition: all 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}
.product-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.product-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-warm) 0%, var(--border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 3.5rem;
  color: var(--border-dark);
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info { padding: 20px; }
.product-cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent);
  margin-bottom: 4px;
}
.product-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}
.product-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 12px;
}
.product-materials {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mat-tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-light);
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.modal.active { display: flex; }

.modal-content {
  background: var(--bg);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--text-light);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: all 0.2s;
  z-index: 10;
}
.modal-close:hover { background: var(--border); color: var(--text); }

#modal-body { padding: 40px; }

.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.detail-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-warm), var(--border));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--border-dark);
}
.detail-cat {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent);
  margin-bottom: 8px;
}
.detail-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 14px;
}
.detail-desc {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}
.detail-scenes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.scene-tag {
  font-size: 0.8rem;
  padding: 4px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text-light);
}

.detail-specs {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.detail-specs h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-light);
  margin-bottom: 14px;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 8px 0; font-size: 0.9rem; }
.spec-table td:first-child { color: var(--text-light); width: 40%; }
.spec-table td:last-child { font-weight: 600; color: var(--text); }

/* ===== FEATURES ===== */
.feat-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}

.feat-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--border);
}
.feat-tab {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  background: none;
  border-radius: 0;
  transition: all 0.2s;
}
.feat-tab:hover { color: var(--primary); }
.feat-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

.feat-panel { display: none; }
.feat-panel.active { display: block; }

.feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feat-list li {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.feat-list li:last-child { border-bottom: none; padding-bottom: 0; }
.feat-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.feat-list li strong { color: var(--text); }

.feat-img-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--bg-warm), var(--border));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: var(--border-dark);
}

/* ===== SERVICES ===== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s;
}
.svc-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.svc-icon { font-size: 2.5rem; margin-bottom: 14px; }
.svc-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}
.svc-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ===== CONTACT ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.ci-block h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}
.ci-block p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}
.ci-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1.2rem;
  transition: all 0.2s;
}
.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.inquiry-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.inquiry-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,146,42,0.12);
}
.form-group textarea { resize: vertical; }

/* ===== FOOTER ===== */
footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.footer-brand .logo-mark { background: var(--accent); }
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 260px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.fl-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.fl-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.fl-col a:hover { color: var(--accent-light); }

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--secondary);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9rem;
  opacity: 0;
  transition: all 0.35s;
  z-index: 3000;
  box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ===== GALLERY ===== */
.detail-gallery { display: flex; flex-direction: column; gap: 12px; }

.gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 5;
  color: var(--text);
}
.gallery-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
}
.gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .timeline-track { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .timeline-track::before { display: none; }
  .feat-layout { grid-template-columns: 1fr; }
  .feat-right { display: none; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.active { display: flex; }
  .nav-right { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .hero-cta { flex-direction: column; }
  .cat-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .timeline-track { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .inquiry-form { padding: 24px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-inner { gap: 32px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 1.75rem; }
  #modal-body { padding: 24px; }
  .detail-hero { grid-template-columns: 1fr; gap: 20px; }
  .detail-title { font-size: 1.4rem; }
}
