/* ==========================================================================
   Maquinados Industriales Ensenada — Industrial Editorial Design System
   Reactive Light / Dark Mode (prefers-color-scheme + optional user toggle)
   Rich Industrial Palette: Gunmetal Charcoal, Lathe Cobalt Blue & Safety Amber
   ========================================================================== */

:root {
  color-scheme: light dark;

  /* Light Mode — Warm Workshop Canvas + Bold Industrial Color */
  --bg-page: #f5efe6;
  --bg-elevated: #fffcf7;
  --bg-subtle: #ebe2d4;
  --bg-pill: rgba(20, 20, 19, 0.06);
  --ink: #121316;
  --ink-70: rgba(18, 19, 22, 0.76);
  --ink-56: rgba(18, 19, 22, 0.58);
  --ink-42: rgba(18, 19, 22, 0.44);
  --hairline: rgba(18, 19, 22, 0.12);
  --hairline-strong: rgba(18, 19, 22, 0.24);

  /* Industrial Brand Accents */
  --amber: #f59e0b;
  --amber-bright: #fbbf24;
  --amber-ink: #111214;
  --amber-soft: rgba(245, 158, 11, 0.16);
  --amber-border: rgba(217, 119, 6, 0.42);
  --cobalt: #1d4ed8;
  --cobalt-soft: rgba(29, 78, 216, 0.11);
  --cobalt-border: rgba(29, 78, 216, 0.28);

  --btn-solid-bg: #121316;
  --btn-solid-fg: #fffcf7;
  --accent-dot: #15803d;
  --accent-dot-ring: rgba(21, 128, 61, 0.24);
  --accent-closed: #b45309;
  --card-shadow: 0 2px 4px rgba(18, 19, 22, 0.04), 0 16px 36px rgba(18, 19, 22, 0.08);
  --grain-blend: multiply;
  --grain-opacity: 0.14;
  --map-filter: saturate(0.95) contrast(1.04);

  /* Light Mode Hero Surface (Rich Warm Steel + Amber + Lathe Blue glow) */
  --hero-bg:
    radial-gradient(58% 64% at 88% 20%, rgba(29, 78, 216, 0.15) 0%, rgba(29, 78, 216, 0) 68%),
    radial-gradient(64% 62% at 14% 88%, rgba(245, 158, 11, 0.24) 0%, rgba(245, 158, 11, 0) 70%),
    linear-gradient(175deg, #efe7da 0%, #f7f1e7 55%, #ede3d3 100%);
}

/* Automatic System Dark Mode */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-page: #111316;
    --bg-elevated: #181b20;
    --bg-subtle: #21252c;
    --bg-pill: rgba(245, 243, 238, 0.08);
    --ink: #f5f3ee;
    --ink-70: rgba(245, 243, 238, 0.8);
    --ink-56: rgba(245, 243, 238, 0.6);
    --ink-42: rgba(245, 243, 238, 0.44);
    --hairline: rgba(245, 243, 238, 0.12);
    --hairline-strong: rgba(245, 243, 238, 0.24);

    --amber: #fbbf24;
    --amber-bright: #ffd000;
    --amber-ink: #111316;
    --amber-soft: rgba(251, 191, 36, 0.15);
    --amber-border: rgba(251, 191, 36, 0.36);
    --cobalt: #38bdf8;
    --cobalt-soft: rgba(56, 189, 248, 0.12);
    --cobalt-border: rgba(56, 189, 248, 0.3);

    --btn-solid-bg: #f5f3ee;
    --btn-solid-fg: #111316;
    --accent-dot: #34d399;
    --accent-dot-ring: rgba(52, 211, 153, 0.25);
    --accent-closed: #fbbf24;
    --card-shadow: 0 2px 6px rgba(0, 0, 0, 0.28), 0 18px 42px rgba(0, 0, 0, 0.38);
    --grain-blend: soft-light;
    --grain-opacity: 0.12;
    --map-filter: invert(0.92) hue-rotate(180deg) saturate(0.85) contrast(1.04);

    --hero-bg:
      radial-gradient(56% 64% at 88% 18%, rgba(37, 99, 235, 0.26) 0%, rgba(37, 99, 235, 0) 68%),
      radial-gradient(62% 60% at 12% 88%, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0) 70%),
      linear-gradient(175deg, #13161b 0%, #171b22 55%, #111317 100%);
  }
}

/* Manual Dark Override */
:root[data-theme="dark"] {
  --bg-page: #111316;
  --bg-elevated: #181b20;
  --bg-subtle: #21252c;
  --bg-pill: rgba(245, 243, 238, 0.08);
  --ink: #f5f3ee;
  --ink-70: rgba(245, 243, 238, 0.8);
  --ink-56: rgba(245, 243, 238, 0.6);
  --ink-42: rgba(245, 243, 238, 0.44);
  --hairline: rgba(245, 243, 238, 0.12);
  --hairline-strong: rgba(245, 243, 238, 0.24);

  --amber: #fbbf24;
  --amber-bright: #ffd000;
  --amber-ink: #111316;
  --amber-soft: rgba(251, 191, 36, 0.15);
  --amber-border: rgba(251, 191, 36, 0.36);
  --cobalt: #38bdf8;
  --cobalt-soft: rgba(56, 189, 248, 0.12);
  --cobalt-border: rgba(56, 189, 248, 0.3);

  --btn-solid-bg: #f5f3ee;
  --btn-solid-fg: #111316;
  --accent-dot: #34d399;
  --accent-dot-ring: rgba(52, 211, 153, 0.25);
  --accent-closed: #fbbf24;
  --card-shadow: 0 2px 6px rgba(0, 0, 0, 0.28), 0 18px 42px rgba(0, 0, 0, 0.38);
  --grain-blend: soft-light;
  --grain-opacity: 0.12;
  --map-filter: invert(0.92) hue-rotate(180deg) saturate(0.85) contrast(1.04);

  --hero-bg:
    radial-gradient(56% 64% at 88% 18%, rgba(37, 99, 235, 0.26) 0%, rgba(37, 99, 235, 0) 68%),
    radial-gradient(62% 60% at 12% 88%, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0) 70%),
    linear-gradient(175deg, #13161b 0%, #171b22 55%, #111317 100%);
}

/* ==========================================================================
   Base Reset & Typography
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-page);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 56px);
}

.tabular {
  font-variant-numeric: tabular-nums;
}

/* Top Industrial Amber Accent Bar */
.top-accent-bar {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--amber) 0%, var(--amber-bright) 52%, var(--cobalt) 100%);
}

/* ==========================================================================
   Hero Shell (Rich Industrial Surface + Real Parts Bento + S-Notch)
   ========================================================================== */
.hero-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
}

.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--hero-bg);
  overflow: hidden;
}

.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--grain-opacity);
  mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ==========================================================================
   Navigation Header
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  width: 100%;
  min-height: 78px;
  padding-inline: clamp(18px, 3vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 700;
  letter-spacing: 0.008em;
  line-height: 1.04;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-56);
  white-space: nowrap;
}

.nav-links {
  display: none;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-70);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

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

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--hairline-strong);
  background: var(--bg-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-70);
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.theme-toggle svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn-nav-cta {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 9px;
  background-color: var(--amber);
  color: var(--amber-ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-nav-cta:hover {
  background-color: var(--amber-bright);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--hairline-strong);
  background: var(--bg-pill);
}

.mobile-drawer {
  display: none;
  position: relative;
  z-index: 19;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-elevated);
  padding: 16px clamp(18px, 4vw, 56px) 20px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer-links a {
  padding: 12px 4px;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--hairline);
}

.mobile-drawer-cta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 10px;
  background: var(--amber);
  color: var(--amber-ink);
  font-weight: 700;
}

@media (min-width: 1120px) {
  .nav-links {
    display: flex;
  }
  .btn-nav-cta {
    display: inline-flex;
  }
  .mobile-menu-btn {
    display: none;
  }
  .mobile-drawer {
    display: none !important;
  }
}

/* ==========================================================================
   Hero Layout: Headline Left + Attention-Grabbing Work Collage Right
   ========================================================================== */
.hero-content {
  position: relative;
  z-index: 10;
  padding-top: clamp(32px, 5vh, 58px);
  padding-bottom: clamp(58px, 8vh, 88px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

@media (min-width: 1000px) {
  .hero-content {
    grid-template-columns: 1.08fr 0.92fr;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--cobalt-border);
  background: var(--cobalt-soft);
  color: var(--cobalt);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cobalt);
}

.hero-headline {
  margin: 0;
  font-weight: 600;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-headline .accent-span {
  color: var(--cobalt);
}

.hero-subheadline {
  margin: 18px 0 0;
  max-width: 590px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink-70);
}

.hero-cta-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero:hover {
  transform: translateY(-1px);
}

.btn-hero-amber {
  background-color: var(--amber);
  color: var(--amber-ink);
  box-shadow: 0 10px 24px -8px rgba(245, 158, 11, 0.45);
}

.btn-hero-amber:hover {
  background-color: var(--amber-bright);
}

.btn-hero-outline {
  border: 1.5px solid var(--hairline-strong);
  background: var(--bg-elevated);
  color: var(--ink);
}

.btn-hero-outline:hover {
  border-color: var(--ink);
}

.hero-caption {
  margin: 16px 0 0;
  font-size: 13.5px;
  color: var(--ink-56);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-caption::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--amber);
  flex-shrink: 0;
}

/* Right Hero Visual Bento (Real Machined Pieces) */
.hero-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-shot {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hairline-strong);
  background: var(--bg-elevated);
  box-shadow: var(--card-shadow);
  text-align: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.hero-shot:hover {
  transform: translateY(-2px);
  border-color: var(--amber);
}

.hero-shot-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.hero-shot-small {
  aspect-ratio: 4 / 3;
}

.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-shot:hover img {
  transform: scale(1.04);
}

.hero-shot-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 16, 20, 0) 40%, rgba(14, 16, 20, 0.86) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px 14px;
}

.hero-shot-tag {
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--amber);
  color: var(--amber-ink);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-shot-title {
  margin-top: 5px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
}

/* ==========================================================================
   Curved S-Notch Strip Underneath Hero
   ========================================================================== */
.notch-strip {
  position: relative;
  z-index: 15;
  background-color: var(--bg-page);
  margin-top: -1px;
  transition: background-color 0.3s ease;
}

.notch-svg-wrap {
  position: relative;
  margin-top: -40px;
  height: 41px;
  width: 100%;
  pointer-events: none;
}

.notch-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.notch-path {
  fill: var(--bg-page);
  transition: fill 0.3s ease;
}

.scroll-hint {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  top: 11px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-56);
  pointer-events: auto;
}

.scroll-hint:hover {
  color: var(--ink);
}

.strip-content {
  padding-top: 20px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

.strip-lead {
  margin: 0;
  font-size: clamp(21px, 1.9vw, 27px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.strip-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 26px;
}

.stat-value {
  display: block;
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}

.stat-label {
  display: block;
  margin-top: 5px;
  font-size: 13.5px;
  color: var(--ink-56);
  line-height: 1.38;
}

@media (min-width: 900px) {
  .strip-content {
    grid-template-columns: 1.05fr 2.2fr;
    gap: 32px;
  }
}

@media (max-width: 680px) {
  .notch-svg-wrap {
    margin-top: -24px;
    height: 25px;
  }
  .scroll-hint {
    display: none;
  }
  .strip-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .strip-stats .stat-item:last-child {
    grid-column: span 2;
  }
}

/* ==========================================================================
   Workshop Identity Section (Real Shop Photo Feature)
   ========================================================================== */
.section {
  padding-block: clamp(52px, 7.5vw, 88px);
  border-bottom: 1px solid var(--hairline);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(28px, 3.8vw, 46px);
}

.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cobalt);
  margin-bottom: 8px;
}

.section-title {
  margin: 0;
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.section-desc {
  margin: 10px 0 0;
  max-width: 580px;
  font-size: 16px;
  color: var(--ink-70);
}

.shop-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: clamp(18px, 2.5vw, 28px);
  border-radius: 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--hairline);
  box-shadow: var(--card-shadow);
  align-items: center;
}

@media (min-width: 960px) {
  .shop-feature {
    grid-template-columns: 1.25fr 0.95fr;
    gap: 36px;
  }
}

.shop-photo-btn {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--hairline-strong);
  aspect-ratio: 16 / 9;
  display: block;
  width: 100%;
  text-align: left;
}

.shop-photo-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.shop-photo-btn:hover img {
  transform: scale(1.03);
}

.shop-photo-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(17, 19, 22, 0.84);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.shop-details h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.shop-details p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.58;
  color: var(--ink-70);
}

.shop-equipment-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.shop-equipment-list li {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg-subtle);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.equip-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--amber);
  flex-shrink: 0;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.urgent-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--amber-soft);
  border: 1px solid var(--amber-border);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.urgent-pill svg {
  color: var(--amber);
  flex-shrink: 0;
}

.services-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 760px) {
  .services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.service-item {
  padding: clamp(22px, 2.8vw, 32px);
  border-radius: 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--hairline);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.service-item:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--amber-soft);
  border: 1px solid var(--amber-border);
  font-size: 12px;
  font-weight: 700;
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cobalt-soft);
  color: var(--cobalt);
}

.service-icon svg {
  width: 21px;
  height: 21px;
}

.service-title {
  margin: 0;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.service-text {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-70);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--ink-70);
}

.capabilities-box {
  margin-top: 26px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--hairline);
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) {
  .capabilities-box {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
}

.cap-col h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
}

.cap-col p,
.cap-col li {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-70);
}

.cap-col ul {
  margin: 0;
  padding-left: 18px;
}

/* ==========================================================================
   Gallery Section (14 Real Workshop Pieces)
   ========================================================================== */
.gallery-controls {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.gallery-controls::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  flex-shrink: 0;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-70);
  background: var(--bg-elevated);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-pill:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.filter-pill.is-active {
  background: var(--amber);
  color: var(--amber-ink);
  border-color: var(--amber);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 20px);
}

@media (min-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--hairline);
  box-shadow: var(--card-shadow);
  text-align: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.gallery-card.is-hidden {
  display: none;
}

.gallery-card:hover {
  transform: translateY(-3px);
  border-color: var(--amber);
}

.gallery-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-subtle);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-thumb img {
  transform: scale(1.045);
}

.gallery-caption {
  padding: 12px 14px 14px;
}

.gallery-cat {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cobalt);
}

.gallery-title {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

/* ==========================================================================
   Trust & Payment Methods
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 720px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.trust-card {
  padding: 24px;
  border-radius: 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--hairline);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--amber-soft);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
}

.trust-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.trust-card p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-70);
}

/* ==========================================================================
   Location, Schedule & Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 5fr 7fr;
    gap: 28px;
  }
}

.contact-card {
  padding: clamp(24px, 3vw, 34px);
  border-radius: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--hairline);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-block {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hairline);
}

.contact-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cobalt);
}

.contact-main {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.contact-phone {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 9px;
  border: 1.4px solid var(--hairline-strong);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-small-amber {
  background: var(--amber);
  color: var(--amber-ink);
  border-color: var(--amber);
}

.btn-small-amber:hover {
  background: var(--amber-bright);
  border-color: var(--amber-bright);
}

.btn-small-outline:hover {
  border-color: var(--ink);
}

.maps-url-note {
  margin: 10px 0 0;
  font-size: 12px;
  word-break: break-all;
  color: var(--ink-56);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-block;
}

.schedule-rows {
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.schedule-row dt {
  color: var(--ink-70);
  flex-shrink: 0;
}

.schedule-row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.schedule-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg-subtle);
  font-size: 13px;
  line-height: 1.48;
  color: var(--ink-70);
}

.map-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--bg-elevated);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  min-height: 380px;
}

.map-topbar {
  padding: 14px 20px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}

.map-frame-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 360px;
  display: block;
  overflow: hidden;
}

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: var(--map-filter);
  pointer-events: none;
}

.map-pin-center {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--amber-ink);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.map-floating {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--hairline-strong);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.map-floating p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-70);
}

.map-floating strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

/* ==========================================================================
   Footer & Mobile Bottom Dock
   ========================================================================== */
.site-footer {
  padding-block: 36px 96px;
}

@media (min-width: 760px) {
  .site-footer {
    padding-block: 40px;
  }
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-copy {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-56);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-70);
}

.footer-chip:hover {
  color: var(--ink);
  border-color: var(--amber);
}

.mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: var(--bg-elevated);
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 760px) {
  .mobile-dock {
    display: none;
  }
}

.dock-btn {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--hairline-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.dock-btn-primary {
  background: var(--amber);
  color: var(--amber-ink);
  border-color: var(--amber);
  font-weight: 700;
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(10, 11, 14, 0.86);
  backdrop-filter: blur(8px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-dialog {
  width: 100%;
  max-width: 860px;
  max-height: 92vh;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-elevated);
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
  display: flex;
  flex-direction: column;
}

.lightbox-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lightbox-head h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.lightbox-head p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--ink-56);
}

.lightbox-close {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--hairline-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lightbox-body {
  padding: 16px;
  background: rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-body img {
  max-height: 62vh;
  width: auto;
  border-radius: 10px;
  object-fit: contain;
}

.lightbox-foot {
  padding: 12px 18px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* ==========================================================================
   Scroll Reveal & Reduced Motion
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-shot,
  .hero-shot img,
  .gallery-card,
  .gallery-thumb img,
  .btn-hero {
    transition: none;
  }
}
