/* ============================================================
   CAPSTUDIO — style.css
   Premium dark industrial design system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@300;400;600;700&family=DM+Sans:wght@300;400;500&family=DM+Mono:wght@400;500&display=swap');

/* ── CSS Variables ───────────────────────────────────────── */
:root {
  --bg-primary:    #0a0a0b;
  --bg-secondary:  #111114;
  --bg-card:       #16161a;
  --bg-card-hover: #1d1d22;
  --border:        rgba(255,255,255,0.07);
  --border-accent: rgba(255,255,255,0.14);

  --text-primary:  #f0f0f2;
  --text-secondary:#9a9aaa;
  --text-muted:    #555560;

  /* Colores extraídos de logos reales */
  --accent-red:    #e8473f;
  --accent-red-glow: rgba(232,71,63,0.25);
  --accent-teal:   #2bbfaa;
  --accent-teal-glow: rgba(43,191,170,0.2);
  --accent-silver: #808080;
  --accent-silver-light: #b0b0b0;
  --accent-gold:   #c9a84c;
  /* aliases */
  --accent-blue:       #1a3f8f;
  --accent-blue-light: #2255c4;

  --font-display:  'Bebas Neue', sans-serif;
  --font-condensed:'Barlow Condensed', sans-serif;
  --font-body:     'DM Sans', sans-serif;
  --font-mono:     'DM Mono', monospace;

  --radius:        6px;
  --radius-lg:     12px;
  --transition:    0.25s cubic-bezier(0.4,0,0.2,1);
  --shadow-card:   0 4px 32px rgba(0,0,0,0.6);
  --shadow-red:    0 0 30px rgba(212,43,43,0.2);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }

/* ── Noise texture overlay ───────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); letter-spacing: 0.04em; line-height: 1.05; }
h1 { font-size: clamp(3.5rem, 8vw, 8rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-family: var(--font-condensed); font-weight: 700; }

.label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.label-red { color: var(--accent-red); }

/* ── Layout ──────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; }
.section-alt { background: var(--bg-secondary); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Section Header ──────────────────────────────────────── */
.section-header { margin-bottom: 4rem; }
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p { color: var(--text-secondary); font-size: 1.05rem; max-width: 520px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-condensed);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--accent-red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(212,43,43,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-accent);
}
.btn-outline:hover {
  border-color: var(--accent-silver);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ── Navigation ──────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(10,10,11,0.92);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  padding: 0.75rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Logo imagen en navbar */
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}
.nav-logo img:hover { opacity: 0.85; }

/* Logo en hero */
.hero-logo {
  height: clamp(36px, 5vw, 56px);
  width: auto;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.1s forwards;
}

/* Logos de sub-marcas en sección servicios */
.service-block-header-logo {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.service-block-logo {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  border-radius: var(--radius);
}


.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-condensed);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  padding: 0.5rem 1.4rem;
  font-size: 0.85rem !important;
  background: var(--accent-red);
  color: #fff !important;
  border-radius: var(--radius);
  transition: all var(--transition) !important;
}
.nav-cta:hover { box-shadow: var(--shadow-red); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
}

/* ── Hero ────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(26,63,143,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(212,43,43,0.08) 0%, transparent 55%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent-red);
}

.hero-title {
  opacity: 0;
  animation: fadeUp 0.8s 0.35s forwards;
  margin-bottom: 0.3rem;
}
.hero-title .line-accent { color: var(--accent-red); }
.hero-title .line-dim { color: var(--text-muted); }

.hero-subtitle {
  font-family: var(--font-condensed);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 560px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.65s forwards;
}

.hero-stats {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  opacity: 0;
  animation: fadeIn 1s 1s forwards;
}
.hero-stat {
  text-align: right;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border);
  border-right: none;
  background: rgba(22,22,26,0.6);
  backdrop-filter: blur(8px);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--accent-red);
  line-height: 1;
}
.hero-stat-label { font-size: 0.7rem; font-family: var(--font-mono); color: var(--text-muted); letter-spacing: 0.15em; text-transform: uppercase; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
}
.hero-scroll span { font-size: 0.65rem; font-family: var(--font-mono); letter-spacing: 0.2em; color: var(--text-muted); text-transform: uppercase; }
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-red), transparent);
  animation: scrollPulse 1.8s infinite;
}

/* ── Services ────────────────────────────────────────────── */
#services { padding: 7rem 0; }
.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 4rem;
}

.service-block-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.service-block-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.icon-apparel { background: rgba(43,191,170,0.1); border: 1px solid rgba(43,191,170,0.22); }
.icon-labs    { background: rgba(128,128,128,0.12); border: 1px solid rgba(128,128,128,0.22); }

.service-block-title { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: 0.06em; }
.service-block-sub   { font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-mono); letter-spacing: 0.15em; text-transform: uppercase; }

.service-items { display: flex; flex-direction: column; gap: 0.6rem; }
.service-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: default;
}
.service-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateX(4px);
}
.service-item-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-red  { background: var(--accent-red);  box-shadow: 0 0 6px var(--accent-red); }
.dot-teal { background: var(--accent-teal); box-shadow: 0 0 6px var(--accent-teal); }
.dot-blue { background: var(--accent-teal); box-shadow: 0 0 6px var(--accent-teal); }

.service-item-name {
  font-family: var(--font-condensed);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
}

/* ── Gallery ─────────────────────────────────────────────── */
#gallery { padding: 7rem 0; background: var(--bg-secondary); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
  margin-top: 4rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--transition);
}
.gallery-item:hover { border-color: var(--border-accent); transform: scale(1.01); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-item:nth-child(1) { grid-column: span 5; grid-row: span 2; aspect-ratio: 4/5; }
.gallery-item:nth-child(2) { grid-column: span 4; }
.gallery-item:nth-child(3) { grid-column: span 3; }
.gallery-item:nth-child(4) { grid-column: span 4; aspect-ratio: 4/3; }
.gallery-item:nth-child(5) { grid-column: span 3; aspect-ratio: 1/1; }
.gallery-item:nth-child(6) { grid-column: span 4; }
.gallery-item:nth-child(7) { grid-column: span 4; }
.gallery-item:nth-child(8) { grid-column: span 4; }

.gallery-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26,63,143,0.08) 100%);
}
.gallery-ph-icon { font-size: 2rem; opacity: 0.2; }
.gallery-ph-label { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-muted); letter-spacing: 0.15em; text-transform: uppercase; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,11,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-overlay-icon { font-size: 1.8rem; }

/* ── Cotizador ───────────────────────────────────────────── */
#cotizador { padding: 7rem 0; }
.quote-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.quote-info { position: sticky; top: 7rem; }
.quote-info h2 { margin-bottom: 1rem; }
.quote-info p { color: var(--text-secondary); margin-bottom: 2rem; }
.quote-features { display: flex; flex-direction: column; gap: 0.75rem; }
.quote-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.quote-feature-icon { color: var(--accent-red); font-size: 1rem; }

.quote-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-full { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-label .req { color: var(--accent-red); }

.form-input, .form-select, .form-textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(212,43,43,0.1);
}
.form-input::placeholder { color: var(--text-muted); }
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--bg-secondary); }
.form-textarea { resize: vertical; min-height: 100px; }

.file-drop {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}
.file-drop:hover, .file-drop.drag-over {
  border-color: var(--accent-red);
  background: rgba(212,43,43,0.04);
}
.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-drop-icon { font-size: 2rem; margin-bottom: 0.5rem; opacity: 0.5; }
.file-drop-text { font-size: 0.85rem; color: var(--text-secondary); }
.file-drop-hint { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.25rem; }
.file-name-display { font-size: 0.8rem; color: var(--accent-red); margin-top: 0.4rem; }

.urgency-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.urgency-option { display: none; }
.urgency-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-condensed);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.urgency-option:checked + .urgency-label {
  border-color: var(--accent-red);
  background: rgba(212,43,43,0.1);
  color: var(--text-primary);
}

.form-alert {
  display: none;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-top: 1rem;
}
.form-alert.success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: #4ade80;
}
.form-alert.error {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(212,43,43,0.1);
  border: 1px solid rgba(212,43,43,0.25);
  color: #f87171;
}
.form-loading { display: none; align-items: center; justify-content: center; gap: 0.75rem; color: var(--text-secondary); font-size: 0.9rem; margin-top: 1rem; }
.spinner {
  width: 18px; height: 18px;
  border: 2px solid var(--border);
  border-top-color: var(--accent-red);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ── Process ─────────────────────────────────────────────── */
#proceso { padding: 7rem 0; background: var(--bg-secondary); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 4rem;
  position: relative;
}
.process-steps::after {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
}
.process-step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent-red);
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.process-step:hover .step-num {
  border-color: var(--accent-red);
  box-shadow: 0 0 20px rgba(212,43,43,0.3);
}
.step-title {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.step-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ── Why CAPSTUDIO ───────────────────────────────────────── */
#por-que { padding: 7rem 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.why-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-red), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.why-card:hover { background: var(--bg-card-hover); border-color: var(--border-accent); transform: translateY(-4px); }
.why-card:hover::before { transform: scaleX(1); }

.why-icon { font-size: 2rem; margin-bottom: 1.25rem; }
.why-card h3 { font-size: 1.05rem; margin-bottom: 0.6rem; font-family: var(--font-condensed); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.why-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

/* ── Contact ─────────────────────────────────────────────── */
#contacto { padding: 7rem 0; background: var(--bg-secondary); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  margin-top: 4rem;
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(212,43,43,0.1);
  border: 1px solid rgba(212,43,43,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.25rem; }
.contact-item-val { font-size: 0.95rem; color: var(--text-primary); }

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-form-card h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 1.5rem; }

/* ── WhatsApp Float ──────────────────────────────────────── */
#wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  cursor: pointer;
  transition: all var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
}
#wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

/* ── Footer ──────────────────────────────────────────────── */
#footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.1em; }
.footer-logo span { color: var(--accent-red); }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-mono); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-mono); transition: color var(--transition); }
.footer-links a:hover { color: var(--text-secondary); }

/* ── Scroll animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.6); opacity: 0.4; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.35); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.55); }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-split { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps::after { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { display: none; }
  .quote-wrapper { grid-template-columns: 1fr; }
  .quote-info { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,10,11,0.97); padding: 1.5rem 2rem; border-bottom: 1px solid var(--border); gap: 1.25rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item { grid-column: span 1 !important; grid-row: span 1 !important; }
  .gallery-item:nth-child(1) { grid-column: span 2 !important; }
  .form-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
