/* ==========================================================================
   DS PROJETOS ESPECIAIS — Industrial Welding & Metalwork Special Effects CSS
   ========================================================================== */

:root {
  --bg: #08090f;
  --bg-card: #10121c;
  --bg-well: #151824;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e6e8f2;
  --text-muted: #8b91a8;
  --ember: #ff6b1a;
  --ember-hot: #ffb347;
  --crimson: #e11d48;
  --steel: #94a3b8;
  --wa: #22c55e;
  --font-sans: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 14px;
  --container: 1220px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Canvases & SVG Filters */
#ambient-embers,
#cursor-sparks {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#ambient-embers {
  z-index: 0;
  opacity: 0.75;
}

#cursor-sparks {
  z-index: 9999;
}

.svg-filters {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

.accent-ember {
  color: var(--ember);
}

.molten-text {
  background: linear-gradient(110deg, #ffffff 10%, #ffb347 45%, #ff6b1a 75%, #e11d48 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: moltenFlow 5s linear infinite;
}

@keyframes moltenFlow {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 74px;
  background: rgba(8, 9, 15, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-emblem svg,
.brand-logo-img {
  width: 48px;
  height: 44px;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  background: #000;
  border: 1px solid rgba(255, 107, 26, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ember), var(--ember-hot));
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  width: 100%;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.86rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.icon-btn-social svg {
  width: 17px;
  height: 17px;
  color: #f43f5e;
}

.icon-btn-social:hover {
  border-color: rgba(244, 63, 94, 0.6);
  background: rgba(244, 63, 94, 0.12);
  transform: translateY(-1px);
}

/* Directional Fill Button (Inspired by Codes Store) */
.btn-directional {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 107, 26, 0.45);
  background: rgba(255, 107, 26, 0.08);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.2s ease;
}

.btn-directional .btn-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ember), var(--crimson));
  transform: translate(var(--dir-x, -105%), var(--dir-y, 0%));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.btn-directional:hover .btn-fill {
  transform: translate(0, 0);
}

.btn-directional .btn-content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-directional svg {
  width: 17px;
  height: 17px;
}

.btn-whatsapp-top {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.1);
}

.btn-whatsapp-top .btn-fill {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  padding: 9px;
  border-radius: 10px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
}

.mobile-drawer {
  padding: 18px 24px 24px;
  background: rgba(12, 14, 22, 0.98);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-link {
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.mobile-social-pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.4);
  font-size: 0.82rem;
}

.mobile-social-pill.wa {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.45);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 72px 0 88px;
  z-index: 1;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 40%, transparent 100%);
  pointer-events: none;
}

.hero-ember-glow {
  position: absolute;
  top: -120px;
  right: 8%;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.18) 0%, rgba(225, 29, 72, 0.07) 45%, transparent 72%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.brushed-metal-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background:
    conic-gradient(from 120deg at 50% 50%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    #121521;
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--steel);
  margin-bottom: 22px;
}

.spark-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 12px var(--ember), 0 0 24px var(--ember-hot);
  animation: pulseSpark 1.5s infinite;
}

@keyframes pulseSpark {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.65; }
}

.hero-title {
  font-size: clamp(2.25rem, 4.3vw, 3.65rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.06rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 30px;
}

.hero-subtitle strong {
  color: var(--text);
  font-weight: 600;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 38px;
}

/* Perimeter Canvas Sparks Wrapper */
.spark-frame-wrap {
  position: relative;
  display: inline-flex;
  border-radius: 999px;
  padding: 2px;
}

.spark-frame-wrap.full-width {
  width: 100%;
  border-radius: 12px;
}

.perimeter-sparks-canvas {
  position: absolute;
  inset: -14px;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  pointer-events: none;
  z-index: 2;
}

.btn-hero-primary {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6b1a 0%, #e11d48 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.96rem;
  box-shadow: 0 10px 30px rgba(255, 107, 26, 0.32);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-hero-primary svg {
  width: 19px;
  height: 19px;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(255, 107, 26, 0.5);
}

.btn-hero-primary .arrow-shift {
  transition: transform 0.2s ease;
}

.btn-hero-primary:hover .arrow-shift {
  transform: translateX(4px);
}

.btn-hero-secondary {
  padding: 14px 22px;
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
}

/* 4-Column Feature Strip (Codes Store Layout) */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(16, 18, 28, 0.72);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.feature-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  border-right: 1px solid var(--border);
}

.feature-cell:last-child {
  border-right: none;
}

.feature-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-cell strong {
  display: block;
  font-size: 0.82rem;
  color: #fff;
  line-height: 1.2;
}

.feature-cell span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.25;
}

/* Hero Right: Interactive Electric Arc + Brushed Metal Card */
.hero-weld-card {
  position: relative;
  border-radius: 18px;
  background:
    conic-gradient(from 135deg at 50% 50%, #161927 0deg, #1d2233 70deg, #0e1019 160deg, #1b2030 250deg, #161927 360deg);
  border: 1px solid var(--border-strong);
  padding: 22px;
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55);
}

.electric-card .electric-border-layer {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(255, 107, 26, 0.55);
  filter: url(#electric-arc);
  pointer-events: none;
  opacity: 0.75;
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.electric-card:hover .electric-border-layer {
  opacity: 1;
  filter: url(#electric-arc-intense);
  border-color: #ffb347;
}

.brushed-sheen {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.11),
    transparent 60%
  );
  pointer-events: none;
  z-index: 1;
}

.weld-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--steel);
  letter-spacing: 0.06em;
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
}

.weld-visual-stage {
  position: relative;
  border-radius: 12px;
  background: #090b12;
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  cursor: crosshair;
  z-index: 2;
}

.weld-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.weld-visual-stage:hover .weld-hero-img {
  transform: scale(1.03);
  filter: contrast(1.08) brightness(1.05);
}

.weld-arc-flicker {
  position: absolute;
  left: 44%;
  top: 60%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(147, 197, 253, 0.65) 26%,
    rgba(255, 107, 26, 0.45) 54%,
    transparent 74%
  );
  mix-blend-mode: screen;
  pointer-events: none;
  animation: arcFlicker 0.18s infinite alternate;
}

@keyframes arcFlicker {
  0% { opacity: 0.45; transform: translate(-50%, -50%) scale(0.92); }
  50% { opacity: 0.92; transform: translate(-50%, -50%) scale(1.12); }
  100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.0); }
}

.weld-stage-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8, 9, 15, 0.72) 100%);
  pointer-events: none;
}

.stage-hint {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.45);
}

.weld-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
  position: relative;
  z-index: 2;
}

.metric-item {
  background: rgba(8, 9, 15, 0.65);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
}

.metric-val {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.metric-lbl {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTIONS & HEADERS
   ========================================================================== */
.section {
  position: relative;
  padding: 86px 0;
  z-index: 1;
}

.section-header {
  max-width: 680px;
  margin-bottom: 46px;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--ember);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ==========================================================================
   SERVICES: FROSTED GLASS + DRIFTING EMBER LIGHT + COMPARATIVE HOVER
   ========================================================================== */
.ember-ambient-drift {
  position: absolute;
  top: 20%;
  left: 50%;
  width: 720px;
  height: 360px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255, 107, 26, 0.14), rgba(225, 29, 72, 0.06), transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  animation: driftLight 9s ease-in-out infinite alternate;
}

@keyframes driftLight {
  0% { transform: translateX(-60%) translateY(-10px); }
  100% { transform: translateX(-40%) translateY(20px); }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.glass-ember-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  border-radius: 16px;
  background: rgba(16, 18, 28, 0.68);
  backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

/* Comparative Hover: hovered card ignites, siblings recede slightly */
.services-grid:has(.glass-ember-card:hover) .glass-ember-card:not(:hover) {
  opacity: 0.72;
  transform: scale(0.985);
}

.glass-ember-card:hover,
.glass-ember-card.featured:hover {
  border-color: rgba(255, 107, 26, 0.75);
  box-shadow: 0 20px 50px rgba(255, 107, 26, 0.16);
  transform: translateY(-6px) scale(1.015);
}

.glass-ember-card.featured {
  border-color: rgba(255, 107, 26, 0.35);
}

.card-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--steel);
  margin-bottom: 18px;
}

.card-badge.hot {
  background: rgba(255, 107, 26, 0.16);
  color: var(--ember-hot);
  border: 1px solid rgba(255, 107, 26, 0.4);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 107, 26, 0.12);
  border: 1px solid rgba(255, 107, 26, 0.28);
  color: var(--ember-hot);
  margin-bottom: 16px;
}

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

.glass-ember-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.glass-ember-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.84rem;
  color: #cbd5e1;
}

.service-list li::before {
  content: '▸ ';
  color: var(--ember);
}

.card-cta-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ember-hot);
  transition: transform 0.2s ease;
  display: inline-block;
}

.glass-ember-card:hover .card-cta-link {
  transform: translateX(4px);
}

/* ==========================================================================
   WELDING LAB: BRUSHED METAL PLATES + SCANNER BEAM
   ========================================================================== */
.weld-lab-section {
  background: linear-gradient(180deg, transparent, rgba(255, 107, 26, 0.03), transparent);
}

.metal-plates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.metal-plate-card {
  position: relative;
  padding: 28px 24px;
  border-radius: 16px;
  background:
    conic-gradient(from 45deg at 50% 50%, #141724 0deg, #1d2235 90deg, #0f111b 180deg, #1a1f2e 270deg, #141724 360deg);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.metal-plate-card:hover {
  border-color: rgba(255, 179, 71, 0.65);
}

.scanner-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ember-hot), #fff, var(--ember), transparent);
  box-shadow: 0 0 14px var(--ember);
  top: -10%;
  opacity: 0;
  pointer-events: none;
}

.metal-plate-card:hover .scanner-beam,
.project-bezel-card:hover .scanner-beam {
  opacity: 0.9;
  animation: scanSweep 2.1s linear infinite;
}

@keyframes scanSweep {
  0% { top: 0%; }
  100% { top: 100%; }
}

.plate-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.plate-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.plate-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 107, 26, 0.14);
  color: var(--ember-hot);
  border: 1px solid rgba(255, 107, 26, 0.3);
}

.metal-plate-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.metal-plate-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.plate-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.plate-specs span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.plate-specs strong {
  font-size: 0.9rem;
  color: #fff;
}

/* ==========================================================================
   PROJECTS GALLERY: METALLIC BEZEL + :HAS() FOCUS BLUR
   ========================================================================== */
.projects-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.projects-focus-grid:has(.project-bezel-card:hover) .project-bezel-card:not(:hover) {
  filter: blur(1.5px) brightness(0.7);
  transform: scale(0.98);
}

.project-bezel-card {
  position: relative;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  transition: transform 0.3s ease, filter 0.3s ease, border-color 0.3s ease;
}

.project-bezel-card:hover {
  border-color: var(--ember);
  transform: translateY(-4px);
}

.bezel-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--ember-hot);
  border-style: solid;
  z-index: 3;
  opacity: 0.55;
  transition: opacity 0.25s ease, width 0.25s ease, height 0.25s ease;
}

.project-bezel-card:hover .bezel-corner {
  opacity: 1;
  width: 18px;
  height: 18px;
}

.bezel-corner.tl { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.bezel-corner.tr { top: 8px; right: 8px; border-width: 2px 2px 0 0; }
.bezel-corner.bl { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; }
.bezel-corner.br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

.project-visual {
  position: relative;
  height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.pv-gate { background: linear-gradient(135deg, #161b2e, #241517); }
.pv-roof { background: linear-gradient(135deg, #121c29, #1f1a14); }
.pv-led { background: linear-gradient(135deg, #1a1228, #28141b); }
.pv-industrial { background: linear-gradient(135deg, #161820, #231810); }

.project-blueprint-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}

.project-tag {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--ember-hot);
}

.project-icon-large {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  padding: 10px 16px;
  border: 1px dashed rgba(255, 179, 71, 0.45);
  border-radius: 8px;
  background: rgba(8, 9, 15, 0.55);
}

.project-body {
  padding: 18px;
}

.project-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.project-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.project-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-meta span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bg-well);
  color: var(--steel);
}

.ig-banner {
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: 14px;
  border: 1px solid rgba(244, 63, 94, 0.3);
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.08), rgba(255, 107, 26, 0.08));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ig-banner-text strong {
  display: block;
  font-size: 1.04rem;
}

.ig-banner-text span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.ig-banner-text code {
  color: #fda4af;
  font-family: var(--font-mono);
}

.btn-ig-banner {
  border-color: rgba(244, 63, 94, 0.5);
  background: rgba(244, 63, 94, 0.14);
}

.btn-ig-banner .btn-fill {
  background: linear-gradient(135deg, #e11d48, #f97316);
}

/* ==========================================================================
   QUOTE SECTION
   ========================================================================== */
.quote-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  padding: 38px;
  border-radius: 20px;
  background: rgba(16, 18, 28, 0.85);
  border: 1px solid var(--border-strong);
  overflow: hidden;
}

.direct-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.contact-mini-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-well);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, transform 0.2s ease;
}

.contact-mini-card:hover {
  transform: translateX(4px);
}

.contact-mini-card.wa:hover {
  border-color: rgba(34, 197, 94, 0.6);
}

.contact-mini-card.ig:hover {
  border-color: rgba(244, 63, 94, 0.6);
}

.cmc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
}

.contact-mini-card.wa .cmc-icon { color: #4ade80; }
.contact-mini-card.ig .cmc-icon { color: #fb7185; }

.cmc-icon svg {
  width: 20px;
  height: 20px;
}

.cmc-label {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.quote-form {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--steel);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: #090b12;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ember);
}

.btn-quote-submit {
  width: 100%;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  border: none;
  border-radius: 11px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-quote-submit svg {
  width: 20px;
  height: 20px;
}

.btn-quote-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.35);
}

/* ==========================================================================
   FLUID ACCORDION (FAQ)
   ========================================================================== */
.faq-container {
  max-width: 820px;
}

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.acc-icon {
  font-size: 1.3rem;
  color: var(--ember);
  transition: transform 0.3s ease;
}

.accordion-item.open .acc-icon {
  transform: rotate(45deg);
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.accordion-item.open .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-content {
  overflow: hidden;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.accordion-item.open .accordion-content {
  padding-bottom: 18px;
}

.accordion-content a {
  color: var(--ember-hot);
  text-decoration: underline;
}

/* ==========================================================================
   FOOTER & FLOATING DOCK
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: #06070c;
  position: relative;
  z-index: 1;
}

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

.footer-brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.footer-brand span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--steel);
}

.footer-links a:hover {
  color: var(--ember-hot);
}

.floating-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dock-btn {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  transition: transform 0.22s ease;
}

.dock-btn:hover {
  transform: scale(1.08);
}

.dock-btn svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1;
}

.dock-ig {
  background: linear-gradient(135deg, #e11d48, #f97316);
}

.dock-wa {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.dock-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(34, 197, 94, 0.6);
  animation: dockPulse 2s infinite;
}

@keyframes dockPulse {
  0% { transform: scale(0.95); opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-container,
  .quote-wrapper {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .projects-focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metal-plates-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .container {
    padding: 0 16px;
  }

  .nav-links,
  .hide-mobile,
  .brand-sub,
  .btn-whatsapp-top {
    display: none;
  }

  .brand-emblem svg {
    width: 38px;
    height: 38px;
  }

  .brand-title {
    font-size: 1rem;
  }

  .icon-btn-social {
    padding: 8px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .floating-dock {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .dock-btn {
    width: 44px;
    height: 44px;
  }

  .dock-btn svg {
    width: 20px;
    height: 20px;
  }

  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-cell:nth-child(2) {
    border-right: none;
  }

  .feature-cell:nth-child(1),
  .feature-cell:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .services-grid,
  .projects-focus-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .quote-wrapper {
    padding: 24px 18px;
  }

  .footer {
    padding-bottom: 92px;
  }
}
