/* ============================================================
   SF FABRICATION WORKSHOP — Premium Industrial Design System
   Palette: Deep Navy #0B1F33 / Charcoal #171B20 / Silver #BFC5CC
   White #FFFFFF / Accent Orange #F28C28
   ============================================================ */

:root {
  --navy: #0B1F33;
  --navy-deep: #071627;
  --charcoal: #171B20;
  --charcoal-2: #1E242C;
  --silver: #BFC5CC;
  --white: #FFFFFF;
  --orange: #F28C28;
  --orange-hot: #FF9E45;
  --orange-dark: #D87415;
  --line: rgba(191, 197, 204, 0.14);
  --line-strong: rgba(191, 197, 204, 0.28);
  --glow: rgba(242, 140, 40, 0.28);
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 18px 50px -18px rgba(0, 0, 0, 0.65);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  background: var(--navy-deep);
  color: var(--silver);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

::selection { background: var(--orange); color: var(--navy-deep); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1240px, 92%); margin: 0 auto; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: 0.01em;
}

/* ---------- Labels / kickers ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.kicker::before { content: ''; width: 34px; height: 1px; background: var(--orange); }
.kicker.center::after { content: ''; width: 34px; height: 1px; background: var(--orange); }

.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section-dark { background: var(--charcoal); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; }
.section-title .accent { color: var(--orange); }
.section-sub { margin-top: 16px; font-size: clamp(0.95rem, 1.2vw, 1.08rem); color: rgba(191, 197, 204, 0.85); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.35s, color 0.35s, border-color 0.35s;
}
.btn-orange { background: var(--orange); color: var(--navy-deep); }
.btn-orange:hover { background: var(--orange-hot); transform: translateY(-3px); box-shadow: 0 14px 34px -10px var(--glow); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-3px); }
.btn-outline-orange { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-outline-orange:hover { background: var(--orange); color: var(--navy-deep); transform: translateY(-3px); }
.btn i { transition: transform 0.3s var(--ease-out); }
.btn:hover i { transform: translateX(4px); }

/* ---------- Cinematic intro ---------- */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  transition: opacity 0.7s ease, visibility 0.7s;
}
.intro-overlay.done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-logo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px solid rgba(242, 140, 40, 0.5);
  box-shadow: 0 0 0 0 rgba(242, 140, 40, 0.4), 0 0 60px -10px rgba(242, 140, 40, 0.5);
  opacity: 0;
  transform: scale(0.4) rotate(-30deg);
  animation: introLogo 1.1s var(--ease-out) 0.15s forwards;
}
@keyframes introLogo {
  60% { opacity: 1; transform: scale(1.08) rotate(4deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
.intro-ring {
  position: absolute;
  width: 190px; height: 190px;
  border-radius: 50%;
  border: 1px solid rgba(242, 140, 40, 0.35);
  opacity: 0;
  transform: scale(0.6);
  animation: introRing 1.4s var(--ease-out) 0.5s forwards;
  top: calc(50% - 95px - 40px);
}
@keyframes introRing { to { opacity: 1; transform: scale(1); } }
.intro-ring::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: var(--orange);
  animation: spin 1.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.intro-name {
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  animation: introText 0.8s var(--ease-out) 0.8s forwards;
}
.intro-name strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  letter-spacing: 0.14em;
  color: var(--white);
}
.intro-name small {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  color: var(--orange);
}
@keyframes introText { to { opacity: 1; transform: translateY(0); } }
.intro-line {
  width: 180px;
  height: 2px;
  background: rgba(191, 197, 204, 0.15);
  overflow: hidden;
  border-radius: 2px;
}
.intro-line span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--orange);
  transform: translateX(-100%);
  animation: introBar 1.3s var(--ease-out) 0.7s forwards;
}
@keyframes introBar { to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .intro-overlay { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 22, 39, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.header-inner {
  width: min(1320px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  box-shadow: 0 0 0 3px rgba(242, 140, 40, 0.15);
  transition: transform 0.5s var(--ease-out), box-shadow 0.4s;
}
.brand:hover .brand-logo { transform: rotate(12deg) scale(1.05); box-shadow: 0 0 24px var(--glow); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.35rem; letter-spacing: 0.06em; color: var(--white); }
.brand-text small { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.3em; color: var(--orange); }

.main-nav { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(191, 197, 204, 0.9);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.nav-quote { padding: 11px 24px; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 12px 10px;
  cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--white); transition: transform 0.35s var(--ease-out), opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(7, 22, 39, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }
  .main-nav.open { opacity: 1; visibility: visible; }
  .nav-link { font-size: 1.6rem; }
}

/* ---------- Hero slider ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-track { height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s var(--ease-out), visibility 1.1s;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide-bg {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 7s linear;
  will-change: transform;
}
.hero-slide.active .hero-slide-bg { transform: scale(1); }
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(78deg, rgba(7, 22, 39, 0.95) 8%, rgba(11, 31, 51, 0.72) 42%, rgba(7, 22, 39, 0.28) 78%);
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1240px, 92%);
  margin: 0 auto;
  padding-top: 60px;
}
.hero-slide-count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.hero-slide-count::after { content: ''; width: 52px; height: 1px; background: var(--orange); }
.hero-title {
  font-size: clamp(2.5rem, 6.4vw, 5rem);
  font-weight: 800;
  max-width: 14ch;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-out);
}
.hero-slide.active .hero-title .line > span { transform: translateY(0); }
.hero-slide.active .hero-title .line:nth-child(2) > span { transition-delay: 0.12s; }
.hero-slide.active .hero-title .line:nth-child(3) > span { transition-delay: 0.22s; }
.hero-desc {
  margin-top: 22px;
  max-width: 520px;
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  color: rgba(191, 197, 204, 0.92);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease 0.35s, transform 0.8s var(--ease-out) 0.35s;
}
.hero-slide.active .hero-desc { opacity: 1; transform: translateY(0); }
.hero-ctas {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease 0.5s, transform 0.8s var(--ease-out) 0.5s;
}
.hero-slide.active .hero-ctas { opacity: 1; transform: translateY(0); }

.hero-nav {
  position: absolute;
  z-index: 5;
  bottom: 44px;
  right: max(4%, calc((100% - 1240px) / 2));
  display: flex;
  gap: 12px;
}
.hero-arrow {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  background: rgba(23, 27, 32, 0.55);
  border: 1px solid var(--line-strong);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.3s;
}
.hero-arrow:hover { background: var(--orange); border-color: var(--orange); color: var(--navy-deep); transform: translateY(-3px); }

.hero-dots {
  position: absolute;
  z-index: 5;
  bottom: 60px;
  left: max(4%, calc((100% - 1240px) / 2));
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 44px; height: 3px;
  background: rgba(191, 197, 204, 0.25);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  padding: 0;
}
.hero-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-dot.active::after { animation: dotFill 6.5s linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }

.hero-scroll {
  position: absolute;
  z-index: 5;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: rgba(191, 197, 204, 0.7);
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@media (max-width: 700px) { .hero-scroll { display: none; } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--orange);
  color: var(--navy-deep);
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--orange-dark);
  border-bottom: 1px solid var(--orange-dark);
}
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0 28px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 28px;
}
.marquee-track span::after { content: '\2739'; font-size: 0.8em; opacity: 0.55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Welcome split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: 4px; box-shadow: var(--shadow-card); }
.split-media::before {
  content: '';
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--orange);
  border-radius: 4px;
  z-index: -1;
}
.split-badge {
  position: absolute;
  bottom: -26px; right: -14px;
  background: var(--charcoal);
  border: 1px solid var(--line-strong);
  padding: 20px 26px;
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.split-badge strong { display: block; font-family: var(--font-head); font-size: 2.4rem; color: var(--orange); line-height: 1; }
.split-badge small { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.22em; color: var(--silver); text-transform: uppercase; }
.split-body p { margin-bottom: 18px; color: rgba(191, 197, 204, 0.88); }
.split-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 26px 0 34px; }
.split-points li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--white);
}
.split-points li i { color: var(--orange); font-size: 0.85rem; }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  position: relative;
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
}
.service-card:hover { transform: translateY(-10px); border-color: rgba(242, 140, 40, 0.55); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 40px -18px var(--glow); }
.service-card-img { height: 230px; overflow: hidden; position: relative; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); filter: saturate(0.85); }
.service-card:hover .service-card-img img { transform: scale(1.08); filter: saturate(1.05); }
.service-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--charcoal) 4%, transparent 55%);
}
.service-card-num {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--orange);
  background: rgba(7, 22, 39, 0.75);
  border: 1px solid rgba(242, 140, 40, 0.4);
  padding: 6px 12px;
  border-radius: 2px;
  backdrop-filter: blur(6px);
}
.service-card-body { padding: 28px 28px 32px; }
.service-card-body h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.service-card-body p { font-size: 0.94rem; color: rgba(191, 197, 204, 0.82); margin-bottom: 18px; }
.service-card-body ul { list-style: none; margin-bottom: 24px; }
.service-card-body ul li {
  font-size: 0.9rem;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  color: rgba(191, 197, 204, 0.9);
  display: flex;
  gap: 10px;
  align-items: center;
}
.service-card-body ul li i { color: var(--orange); font-size: 0.7rem; }
.card-link {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.card-link i { transition: transform 0.3s var(--ease-out); }
.card-link:hover i { transform: translateX(6px); }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.why-item {
  background: var(--navy);
  padding: 40px 32px;
  transition: background-color 0.4s;
  position: relative;
  overflow: hidden;
}
.why-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.why-item:hover { background: var(--charcoal-2); }
.why-item:hover::before { transform: scaleX(1); }
.why-item i { font-size: 1.6rem; color: var(--orange); margin-bottom: 18px; display: block; }
.why-item h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 10px; }
.why-item p { font-size: 0.9rem; color: rgba(191, 197, 204, 0.75); }

/* ---------- Projects / gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--charcoal);
}
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out), filter 0.5s; filter: saturate(0.85); }
.work-card:hover img { transform: scale(1.07); filter: saturate(1.05); }
.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 22, 39, 0.95) 0%, rgba(7, 22, 39, 0.25) 55%, transparent 80%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: background-color 0.4s;
}
.work-card-cat {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.work-card-title { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--white); text-transform: uppercase; }
.work-card-plus {
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--navy-deep);
  border-radius: 2px;
  opacity: 0;
  transform: translateY(-8px) rotate(-90deg);
  transition: opacity 0.35s, transform 0.45s var(--ease-out);
}
.work-card:hover .work-card-plus { opacity: 1; transform: translateY(0) rotate(0); }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 46px; }
.filter-btn {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 11px 24px;
  background: transparent;
  color: rgba(191, 197, 204, 0.8);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.filter-btn.active { background: var(--orange); border-color: var(--orange); color: var(--navy-deep); }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--navy); overflow: hidden; }
.testi-viewport { overflow: hidden; max-width: 860px; margin: 0 auto; }
.testi-track { display: flex; transition: transform 0.65s var(--ease-out); }
.testi-card {
  flex: 0 0 100%;
  padding: clamp(30px, 5vw, 54px) clamp(20px, 5vw, 60px);
  text-align: center;
  position: relative;
}
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-size: 7rem;
  line-height: 1;
  color: rgba(242, 140, 40, 0.14);
  pointer-events: none;
}
.testi-stars { color: var(--orange); font-size: 0.95rem; letter-spacing: 5px; margin-bottom: 26px; display: flex; justify-content: center; gap: 5px; }
.testi-card p {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  max-width: 46ch;
  margin: 0 auto 30px;
  font-style: italic;
}
.testi-card footer strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}
.testi-card footer span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}
.testi-nav { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 30px; }
.testi-arrow {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--white);
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.3s;
}
.testi-arrow:hover { background: var(--orange); border-color: var(--orange); color: var(--navy-deep); }
.testi-dots { display: flex; gap: 8px; }
.testi-dot {
  width: 26px; height: 3px;
  background: rgba(191, 197, 204, 0.25);
  border: none; cursor: pointer; padding: 0;
  transition: background-color 0.3s;
}
.testi-dot.active { background: var(--orange); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/hero-fabrication.jpg') center/cover fixed;
  opacity: 0.14;
}
.cta-band::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,22,39,0.94), rgba(7,22,39,0.55));
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); max-width: 22ch; }
.cta-band p { margin-top: 14px; max-width: 52ch; color: rgba(191, 197, 204, 0.85); }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding: 160px 0 70px;
  background-size: cover;
  background-position: center;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--navy-deep) 4%, rgba(7, 22, 39, 0.72) 55%, rgba(7, 22, 39, 0.55));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; display: flex; gap: 12px; align-items: center; }
.breadcrumb a { color: rgba(191,197,204,0.75); }
.breadcrumb a:hover { color: var(--orange); }

/* ---------- Vision / Mission ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.vm-card {
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.4s;
}
.vm-card:hover { transform: translateY(-6px); border-color: rgba(242, 140, 40, 0.5); }
.vm-card::after {
  content: attr(data-num);
  position: absolute;
  right: -8px; bottom: -34px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 9rem;
  color: rgba(242, 140, 40, 0.07);
  line-height: 1;
}
.vm-card i { font-size: 1.8rem; color: var(--orange); margin-bottom: 22px; display: block; }
.vm-card h3 { font-size: 1.7rem; margin-bottom: 14px; }
.vm-card p { color: rgba(191, 197, 204, 0.85); }

/* ---------- Founder ---------- */
.founder {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(44px, 6vw, 90px);
  align-items: center;
}
.founder-photo { position: relative; }
.founder-photo img { border-radius: 4px; aspect-ratio: 3 / 3.6; object-fit: cover; box-shadow: var(--shadow-card); }
.founder-photo::before {
  content: '';
  position: absolute;
  inset: -20px 20px 20px -20px;
  border: 1px solid var(--orange);
  border-radius: 4px;
  z-index: -1;
}
.founder-photo .founder-tag {
  position: absolute;
  bottom: 24px; left: -16px;
  background: var(--orange);
  color: var(--navy-deep);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 2px;
}
.founder-body h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 6px; }
.founder-role { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--orange); display: block; margin-bottom: 24px; }
.founder-body p { color: rgba(191, 197, 204, 0.88); margin-bottom: 18px; }
.founder-sign {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.founder-sign i { font-size: 2rem; color: var(--orange); }
.founder-sign strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--white); letter-spacing: 0.06em; display: block; }
.founder-sign small { color: rgba(191,197,204,0.7); font-size: 0.85rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 5vw, 70px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px 26px;
  transition: border-color 0.35s, transform 0.35s var(--ease-out);
}
.contact-card:hover { border-color: rgba(242, 140, 40, 0.5); transform: translateX(6px); }
.contact-card i { font-size: 1.3rem; color: var(--orange); margin-top: 4px; }
.contact-card h4 { font-size: 1.15rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: 0.92rem; color: rgba(191, 197, 204, 0.85); }
.contact-card a:hover { color: var(--orange); }

.form-panel {
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}
.form-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent 70%);
}
.form-panel h3 { font-size: 1.8rem; margin-bottom: 8px; }
.form-panel > p { font-size: 0.92rem; color: rgba(191,197,204,0.75); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(191, 197, 204, 0.75);
  margin-bottom: 8px;
}
.form-field label b { color: var(--orange); font-weight: 400; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--navy-deep);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 140, 40, 0.15);
}
.form-error { color: #ff7b72; font-size: 0.8rem; margin-top: 6px; display: none; }
.form-field.invalid input, .form-field.invalid select, .form-field.invalid textarea { border-color: #ff7b72; }
.form-field.invalid .form-error { display: block; }

.alert {
  padding: 16px 20px;
  border-radius: 3px;
  margin-bottom: 24px;
  font-size: 0.92rem;
  border: 1px solid;
}
.alert-success { background: rgba(46, 160, 67, 0.12); border-color: rgba(46, 160, 67, 0.5); color: #7ee29a; }
.alert-error { background: rgba(224, 62, 62, 0.1); border-color: rgba(224, 62, 62, 0.5); color: #ff9d97; }

.map-wrap { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(0.7) contrast(1.05); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(4, 12, 22, 0.94);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-stage { max-width: min(1100px, 90vw); text-align: center; }
.lightbox-stage img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  margin: 0 auto;
}
.lightbox-stage figcaption {
  margin-top: 16px;
  font-family: var(--font-head);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(23, 27, 32, 0.7);
  border: 1px solid var(--line-strong);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  z-index: 2;
}
.lightbox-close { top: 26px; right: 26px; width: 50px; height: 50px; font-size: 1.6rem; border-radius: 3px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 1.1rem; border-radius: 3px; }
.lightbox-prev { left: 26px; }
.lightbox-next { right: 26px; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--orange); color: var(--navy-deep); border-color: var(--orange); }

/* ---------- Footer ---------- */
.site-footer { background: #050F1B; border-top: 1px solid var(--line); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding: 72px 0 56px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-logo { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--line-strong); }
.footer-brand strong { font-family: var(--font-head); font-size: 1.25rem; letter-spacing: 0.06em; color: var(--white); display: block; line-height: 1.1; }
.footer-brand small { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.3em; color: var(--orange); }
.footer-col > p { font-size: 0.9rem; color: rgba(191, 197, 204, 0.7); margin-bottom: 14px; }
.footer-col h4 {
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.footer-col a { display: block; font-size: 0.92rem; color: rgba(191, 197, 204, 0.75); padding: 5px 0; transition: color 0.3s, transform 0.3s; }
.footer-col a:hover { color: var(--orange); transform: translateX(5px); }
.footer-col p i { color: var(--orange); margin-right: 8px; }
.social-link { display: inline-flex !important; align-items: center; gap: 10px; border: 1px solid var(--line-strong); padding: 10px 18px !important; border-radius: 3px; margin-top: 6px; }
.social-link:hover { border-color: var(--orange); }
.footer-bar { border-top: 1px solid var(--line); padding: 20px 0; }
.footer-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 0.82rem; color: rgba(191, 197, 204, 0.55); }
.footer-mark i { color: var(--orange); }
.footer-mark .dev-credit { display: inline-flex; align-items: center; gap: 8px; color: rgba(191,197,204,0.55); font-size: 0.82rem; transition: color 0.3s; }
.footer-mark .dev-credit strong { color: var(--orange); font-weight: 600; letter-spacing: 0.08em; }
.footer-mark .dev-credit:hover { color: var(--white); }
.footer-mark .dev-credit i { color: #25D366; }

/* ---------- Floating buttons ---------- */
.float-wa, .float-call {
  position: fixed;
  z-index: 300;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.float-wa {
  right: 26px; bottom: 26px;
  background: #25D366;
}
.float-wa::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(0.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.float-wa:hover, .float-call:hover { transform: translateY(-4px) scale(1.06); }
.float-call { right: 26px; bottom: 98px; background: var(--orange); display: none; }
@media (max-width: 768px) { .float-call { display: grid; } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s ease, transform 0.9s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide-bg { transition: none; }
  .marquee-track { animation-duration: 60s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid, .gallery-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 820px) {
  .split, .vm-grid, .contact-grid, .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 420px; }
  .split-media { margin-bottom: 20px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .services-grid, .gallery-grid, .why-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .hero-nav { bottom: 24px; }
  .hero-dots { bottom: 40px; }
  .hero-arrow { width: 46px; height: 46px; }
  .split-badge { right: 6px; bottom: -20px; padding: 14px 18px; }
  .split-badge strong { font-size: 1.8rem; }
}
