/* ==========================================================================
   ARMEX PAINT PROTECTION FILM — Atelier Arquitectónico & Configurador 3D
   Principios: Apple Design (Materiales, Jerarquía, Respuesta 1:1) & Emil Kowalski
   ========================================================================== */

:root {
  /* Paleta Oficial Solicitada: #000000 · #9C764F · #CEB8A5 */
  --armex-black: #000000;
  --armex-bronze: #9C764F;
  --armex-sand: #CEB8A5;

  --bg-obsidian: #000000;
  --bg-charcoal: #080706;
  --bg-surface: #0f0d0c;
  --bg-elevated: #171412;
  --bg-glass: rgba(15, 13, 12, 0.78);

  --border-subtle: rgba(206, 184, 165, 0.14);
  --border-strong: rgba(206, 184, 165, 0.28);
  --border-gold: rgba(156, 118, 79, 0.52);

  --gold-light: #CEB8A5;
  --gold-main: #9C764F;
  --gold-dark: #745638;
  --gold-gradient: linear-gradient(135deg, #CEB8A5 0%, #9C764F 58%, #6d5034 100%);

  --text-primary: #ffffff;
  --text-secondary: #CEB8A5;
  --text-muted: #9a8c7e;

  /* Tipografías Oficiales: Futura Md BT Bold + Michroma Regular */
  --font-display: 'Futura Md BT', 'Futura', 'Jost', system-ui, sans-serif;
  --font-sans: 'Futura Md BT', 'Futura', 'Jost', system-ui, -apple-system, sans-serif;
  --font-michroma: 'Michroma', sans-serif;
  --font-mono: 'Michroma', monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-gold: 0 14px 38px rgba(156, 118, 79, 0.28);
  --shadow-deep: 0 28px 70px rgba(0, 0, 0, 0.78);

  /* Curvas Design Engineering */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.admin-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: min(1260px, 100% - 44px);
  margin-inline: auto;
}

.section-pad {
  padding: 112px 0;
  position: relative;
}

.text-gold {
  color: var(--gold-main);
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mono-num,
.metric-val,
.nav-count-badge,
#hud-ppf-percent {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-main);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
}

.section-lead {
  color: var(--text-secondary);
  font-size: 1.04rem;
  max-width: 580px;
  margin: 0;
}

.section-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

/* ==========================================================================
   BOTONES & FEEDBACK TÁCTIL INMEDIATO
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), box-shadow 220ms var(--ease-out), background-color 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-1px);
  }
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.83rem;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 0.94rem;
}

.btn-block {
  width: 100%;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #07080b;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  box-shadow: 0 14px 38px rgba(216, 190, 130, 0.3);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-subtle);
  color: var(--text-primary);
  backdrop-filter: blur(14px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-strong);
}

.btn-outline-light {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-outline-light:hover {
  border-color: var(--gold-main);
  color: var(--gold-light);
}

.btn-text-gold {
  background: none;
  border: none;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  padding: 6px 4px;
}

.btn-text-gold:hover {
  text-decoration: underline;
}

/* ==========================================================================
   NAVEGACIÓN FLOTANTE MINIMALISTA (CÁPSULA TRANSLÚCIDA)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(5, 5, 7, 0.72);
  backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.brand-emblem {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: 0.16em;
}

.brand-text small {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.18em;
  color: var(--gold-main);
}

.nav-links-pill {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-link {
  padding: 6px 13px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

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

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

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

/* ==========================================================================
   SISTEMA MULTIPÁGINA & FEED 3D PROTAGONISTA
   ========================================================================== */
.page-view[hidden] {
  display: none !important;
}

.page-view.is-active-page {
  animation: pageFadeIn 260ms var(--ease-out);
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-inicio {
  padding-top: 84px;
  background:
    radial-gradient(ellipse 65% 38% at 50% 0%, rgba(216, 190, 130, 0.11), transparent 72%),
    var(--bg-obsidian);
}

.inicio-bottom-bar {
  padding-bottom: 56px;
}

/* Titular flotante integrado en el escenario 3D */
.stage-Floating-Headline {
  position: absolute;
  top: 58px;
  left: 20px;
  max-width: 390px;
  pointer-events: none;
  z-index: 2;
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}

.stage-Floating-Headline.is-faded {
  opacity: 0.14;
  transform: translateY(-6px);
}

.stage-Floating-Headline .eyebrow-tag {
  margin-bottom: 6px;
  font-size: 0.64rem;
}

.stage-Floating-Headline h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 6px;
}

.stage-Floating-Headline p {
  margin: 0;
  font-size: 0.81rem;
  color: var(--text-secondary);
  max-width: 34ch;
}

.hud-upload-glb {
  border: 1px solid rgba(216, 190, 130, 0.35) !important;
  color: var(--gold-light) !important;
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-main);
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-main);
  box-shadow: 0 0 0 4px rgba(216, 190, 130, 0.18);
  animation: pulseGlow 2.4s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 2px rgba(216, 190, 130, 0.3); }
  50% { box-shadow: 0 0 0 7px rgba(216, 190, 130, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.2vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 22px;
  max-width: 14ch;
}

.hero-subrow {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-subtitle {
  font-size: 1.06rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0;
}

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

/* Cinta Arquitectónica 4 Columnas (sin tarjetas genéricas) */
.telemetry-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.telemetry-cell {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--border-subtle);
}

.telemetry-cell:first-child {
  padding-left: 0;
}

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

.metric-val {
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.metric-val small {
  font-size: 0.82rem;
  color: var(--gold-main);
  font-weight: 500;
}

.metric-lbl {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   CONFIGURADOR 3D STICKY CON DOCK UNIFICADO + TIMELINE EDITORIAL
   ========================================================================== */
.ppf-scroll-stage {
  position: relative;
  padding: 6px 0 48px;
}

.ppf-stage-layout {
  display: grid;
  grid-template-columns: 1.68fr 0.68fr;
  gap: 32px;
  align-items: start;
}

.car3d-sticky-wrapper {
  position: sticky;
  top: 84px;
}

.car3d-viewport-card {
  position: relative;
  height: clamp(540px, calc(100vh - 104px), 780px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(216, 190, 130, 0.09) 0%, rgba(12, 14, 20, 0.94) 60%, #050507 100%);
  box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#armex-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

#armex-3d-canvas:active {
  cursor: grabbing;
}

/* Barra superior limpia */
.hud-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  pointer-events: none;
}

.hud-chip,
.hud-progress-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(8, 9, 13, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  white-space: nowrap;
}

.hud-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}

.hud-progress-pill strong {
  color: var(--gold-light);
  min-width: 32px;
}

.hud-bar-track {
  width: 52px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.hud-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  transition: width 80ms linear;
}

/* Selector de Cámaras Rápidas 3D */
.cam-presets-bar {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(8, 9, 13, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.cam-preset-btn,
.hud-mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 150ms var(--ease-out), background-color 180ms ease, color 180ms ease;
}

.cam-preset-btn:active,
.hud-mini-btn:active {
  transform: scale(0.96);
}

.cam-preset-btn:hover,
.hud-mini-btn:hover {
  color: var(--text-primary);
}

.cam-preset-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

/* Dock Inferior Unificado */
.hud-bottom-dock {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 11px 15px;
  border-radius: 16px;
  background: rgba(8, 9, 13, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dock-finish-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.finish-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.finish-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.77rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 150ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.finish-pill:active,
.color-dot:active {
  transform: scale(0.97);
}

.finish-pill.active,
.finish-pill:hover {
  color: #07080b;
  background: var(--gold-gradient);
  border-color: transparent;
}

.swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.swatch-gloss { background: linear-gradient(135deg, #fff, #475569); }
.swatch-matte { background: #334155; }
.swatch-color { background: linear-gradient(135deg, #4b6043, #d8be82); }

.color-swatches-row {
  display: flex;
  gap: 6px;
}

.color-swatches-row[hidden] {
  display: none;
}

.color-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), border-color 160ms ease;
}

.color-dot.active {
  transform: scale(1.15);
  border-color: var(--gold-light);
}

.manual-scrubber {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.manual-scrubber label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.73rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.manual-scrubber label strong {
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.manual-scrubber input[type="range"] {
  width: 100%;
  accent-color: var(--gold-main);
  cursor: pointer;
}

.drag-hint {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Línea de Tiempo Editorial (5 Fases sin cajas pesadas) */
.scroll-story-column {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-left: 28px;
  padding-top: 8px;
  padding-bottom: 100px;
}

.scroll-story-column::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 24px;
  bottom: 120px;
  width: 1px;
  background: linear-gradient(180deg, rgba(216, 190, 130, 0.45), rgba(255, 255, 255, 0.08));
}

.story-step {
  position: relative;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid transparent;
  opacity: 0.42;
  transition: opacity 280ms var(--ease-out), background-color 280ms ease, border-color 280ms ease;
  cursor: pointer;
}

.story-step::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 26px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg-obsidian);
  border: 1.5px solid var(--text-muted);
  transition: background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.story-step.is-active,
.story-step:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--border-subtle);
}

.story-step.is-active::before {
  background: var(--gold-main);
  border-color: var(--gold-light);
  box-shadow: 0 0 0 5px rgba(216, 190, 130, 0.16);
}

.step-index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold-main);
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}

.story-step h3 {
  font-family: var(--font-display);
  font-size: 1.24rem;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.story-step p {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.step-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.step-specs span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.step-cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   FRANJA BENEFICIOS (HAIRLINE GRID) + ACABADOS + MINI PORTAFOLIO
   ========================================================================== */
.inicio-showcase {
  padding-bottom: 92px;
}

.benefits-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 68px;
}

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px;
  background: #08090c;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(216, 190, 130, 0.08);
  border: 1px solid rgba(216, 190, 130, 0.25);
  color: var(--gold-main);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-card h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.benefit-card p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--text-secondary);
}

.section-head-compact {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.section-head-compact h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
  margin: 0;
}

.section-head-compact p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.finish-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.finish-showcase-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform 220ms var(--ease-out), border-color 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .finish-showcase-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-gold);
  }
}

.finish-card-media {
  height: 190px;
  overflow: hidden;
  background: #06070a;
}

.finish-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease-out);
}

.finish-showcase-card:hover .finish-card-media img {
  transform: scale(1.04);
}

.finish-card-body {
  padding: 22px;
}

.finish-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.finish-card-top h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}

.finish-card-body p {
  margin: 0 0 12px;
  font-size: 0.89rem;
  color: var(--text-secondary);
}

.finish-action-link {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--gold-light);
}

.finish-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.finish-badge.gloss {
  background: rgba(216, 190, 130, 0.14);
  color: var(--gold-light);
  border: 1px solid rgba(216, 190, 130, 0.34);
}

.finish-badge.matte {
  background: rgba(148, 163, 184, 0.14);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.finish-badge.color {
  background: rgba(52, 211, 153, 0.14);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.inicio-mini-gallery {
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-charcoal);
  border: 1px solid var(--border-subtle);
}

.mini-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.mini-gallery-header strong {
  display: block;
  font-size: 1rem;
}

.mini-gallery-header span {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.mini-gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.mini-thumb-card {
  position: relative;
  height: 112px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.mini-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-thumb-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(5, 5, 7, 0.78);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--gold-light);
}

/* ==========================================================================
   02 / NOSOTROS (COMPOSICIÓN EDITORIAL + PILARES ARQUITECTÓNICOS)
   ========================================================================== */
.section-nosotros {
  background: var(--bg-charcoal);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 60px;
}

.studio-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-deep);
}

.studio-photo-frame img {
  width: 100%;
  height: 410px;
  object-fit: cover;
}

.studio-photo-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(8, 9, 13, 0.82);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
}

.studio-photo-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--gold-light);
  line-height: 1;
}

.studio-photo-badge span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.nosotros-desc {
  color: var(--text-secondary);
  margin: 16px 0 26px;
}

.comparison-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.comp-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  margin-bottom: 14px;
}

.comp-row {
  margin-bottom: 12px;
}

.comp-row:last-child {
  margin-bottom: 0;
}

.comp-label {
  display: block;
  font-size: 0.83rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.comp-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.comp-bar {
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.comp-bar.armex {
  background: var(--gold-gradient);
  color: #07080b;
}

.comp-bar.ceramic {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 40px;
}

.pillar-card {
  background: #08090d;
  padding: 32px 28px;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-main);
  margin-bottom: 14px;
}

.pillar-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.pillar-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.center-cta {
  text-align: center;
}

/* ==========================================================================
   03 / SERVICIOS & ZONAS DE PROTECCIÓN
   ========================================================================== */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  transition: transform 150ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter-pill:active {
  transform: scale(0.97);
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--gold-gradient);
  color: #07080b;
  border-color: transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 20px;
  margin-bottom: 76px;
}

.service-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transition: transform 220ms var(--ease-out), border-color 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-gold);
  }
}

.service-card-media {
  position: relative;
  height: 184px;
  background: #06070a;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-media .finish-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  backdrop-filter: blur(10px);
}

.service-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.16rem;
  letter-spacing: -0.015em;
}

.service-short {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gold-light);
}

.service-desc {
  margin: 0 0 18px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  flex: 1;
}

.service-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Zonas de Protección */
.zones-panel {
  border-radius: var(--radius-lg);
  padding: 36px;
  background: var(--bg-charcoal);
  border: 1px solid var(--border-subtle);
}

.zones-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.zones-header h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: -0.025em;
  margin: 0 0 6px;
}

.zones-header p {
  margin: 0;
  color: var(--text-secondary);
}

.zones-interactive-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.zones-schematic-box {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
}

.schematic-car-stage {
  position: relative;
  width: 100%;
}

.schematic-car-svg {
  width: 100%;
  height: auto;
  display: block;
}

.zone-shape {
  fill: rgba(216, 190, 130, 0.03);
  stroke: rgba(216, 190, 130, 0.22);
  stroke-width: 1.4;
  cursor: pointer;
  transition: fill 220ms ease, stroke 220ms ease;
}

.zone-shape:hover,
.zone-shape.active {
  fill: rgba(216, 190, 130, 0.32);
  stroke: #f2e2ba;
  stroke-width: 2.2;
}

.zone-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(8, 9, 13, 0.88);
  border: 1px solid rgba(216, 190, 130, 0.42);
  color: var(--text-primary);
  font-size: 0.71rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 200ms var(--ease-out);
  white-space: nowrap;
}

.zone-pin:active {
  transform: translate(-50%, -50%) scale(0.96);
}

.zone-pin.active,
.zone-pin:hover {
  background: var(--gold-gradient);
  color: #07080b;
  border-color: transparent;
  box-shadow: 0 0 0 4px rgba(216, 190, 130, 0.2);
  z-index: 4;
}

.zone-detail-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
}

.zone-risk-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  margin-bottom: 10px;
}

.zone-card-head h4 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.zone-card-desc {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.zone-specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.zone-spec {
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
}

.zone-spec span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.zone-spec strong {
  font-family: var(--font-mono);
  font-size: 0.83rem;
  color: var(--gold-light);
}

.zone-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   04 / PAQUETES (JERARQUÍA DIFERENCIADA 3 PRINCIPALES + 3 ESPECIALIZADOS)
   ========================================================================== */
.section-paquetes {
  background: var(--bg-charcoal);
  border-top: 1px solid var(--border-subtle);
}

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

.package-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 220ms var(--ease-out), border-color 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .package-card:hover {
    transform: translateY(-3px);
  }
}

.package-card.featured {
  background: linear-gradient(165deg, rgba(216, 190, 130, 0.1) 0%, #0e1016 58%);
  border-color: var(--gold-main);
  box-shadow: 0 22px 54px rgba(216, 190, 130, 0.12);
}

/* Fila inferior especializada más compacta para evitar monotonía */
.package-card:nth-child(n + 4) {
  background: #0a0c11;
  padding: 22px 24px;
}

.package-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(216, 190, 130, 0.1);
  border: 1px solid rgba(216, 190, 130, 0.28);
  margin-bottom: 12px;
}

.package-top h3 {
  font-family: var(--font-display);
  font-size: 1.38rem;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.package-sub {
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.package-price-row {
  padding: 13px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}

.package-price-row strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold-light);
}

.package-price-row span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.package-zones-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.package-zones-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.check-gold {
  color: var(--gold-main);
  font-weight: 700;
}

/* ==========================================================================
   05 / GALERÍA BENTO ASIMÉTRICA + LIGHTBOX COMPARADOR
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-card {
  position: relative;
  margin: 0;
  height: 255px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

@media (min-width: 900px) {
  .gallery-card:first-child {
    grid-column: span 2;
    height: 300px;
  }

  .gallery-card:nth-child(2) {
    height: 300px;
  }

  .gallery-card:nth-child(4) {
    grid-column: span 2;
  }
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 460ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .gallery-card:hover img {
    transform: scale(1.05);
  }
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.04) 35%, rgba(5, 5, 7, 0.92) 100%);
}

.gallery-overlay .finish-badge {
  align-self: flex-start;
  margin-bottom: 8px;
}

.gallery-overlay h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.gallery-zoom-hint {
  font-size: 0.75rem;
  color: var(--gold-light);
}

.gallery-footer-quote {
  text-align: center;
  margin-top: 40px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--text-secondary);
}

/* Modal Lightbox */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(4, 5, 8, 0.86);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.lightbox-card {
  position: relative;
  width: min(860px, 100%);
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  opacity: 1;
  transform: scale(1) translateY(0);
  transition: transform 240ms var(--ease-out), opacity 200ms var(--ease-out);
}

@starting-style {
  .lightbox-card {
    opacity: 0;
    transform: scale(0.95) translateY(8px);
  }
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(5, 5, 7, 0.85);
  color: var(--text-primary);
  cursor: pointer;
}

.compare-stage {
  position: relative;
  height: 410px;
  background: #050507;
  overflow: hidden;
}

.compare-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-before-layer {
  position: absolute;
  inset: 0;
  clip-path: inset(0 58% 0 0);
}

.compare-tag {
  position: absolute;
  top: 16px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(5, 5, 7, 0.84);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.compare-tag.before { left: 16px; }
.compare-tag.after { right: 64px; color: var(--gold-light); }

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 42%;
  width: 2px;
  background: var(--gold-light);
  box-shadow: 0 0 12px var(--gold-main);
  pointer-events: none;
}

#lightbox-compare-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.lightbox-info {
  padding: 24px;
}

.lightbox-info h3 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
}

.lightbox-info p {
  margin: 0 0 16px;
  color: var(--text-secondary);
}

/* ==========================================================================
   06 / CONTACTO & FOOTER
   ========================================================================== */
.section-contacto {
  background: var(--bg-charcoal);
  border-top: 1px solid var(--border-subtle);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 44px;
  align-items: start;
}

.contact-wa-cta {
  margin: 22px 0;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.contact-mini-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.contact-mini-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(216, 190, 130, 0.12);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.contact-mini-card strong {
  display: block;
  font-size: 0.94rem;
}

.contact-mini-card span {
  font-size: 0.83rem;
  color: var(--text-secondary);
}

.workshop-map-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #080a0f;
}

.map-grid-bg {
  position: relative;
  height: 152px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 26px 26px;
}

.map-road-h {
  position: absolute;
  top: 52%;
  left: 0;
  right: 0;
  height: 10px;
  background: rgba(216, 190, 130, 0.16);
}

.map-road-v {
  position: absolute;
  left: 46%;
  top: 0;
  bottom: 0;
  width: 10px;
  background: rgba(255, 255, 255, 0.07);
}

.map-pin-pulse {
  position: absolute;
  top: 52%;
  left: 46%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pin-core {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-main);
  box-shadow: 0 0 0 8px rgba(216, 190, 130, 0.22);
}

.pin-label {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(5, 5, 7, 0.9);
  border: 1px solid var(--gold-main);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gold-light);
}

.map-footer-bar {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  font-size: 0.81rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
}

.map-footer-bar a {
  color: var(--gold-light);
  font-weight: 600;
}

.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px;
}

.contact-form-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.48rem;
}

.form-sub {
  margin: 0 0 22px;
  font-size: 0.87rem;
  color: var(--text-secondary);
}

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

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #08090d;
  color: var(--text-primary);
  font-size: 0.91rem;
  transition: border-color 180ms ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-main);
}

.form-feedback {
  margin-top: 14px;
  font-size: 0.89rem;
}

.form-feedback.success {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.36);
  color: #6ee7b7;
}

.site-footer {
  background: #030406;
  border-top: 1px solid var(--border-subtle);
  padding: 36px 0;
}

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

.footer-brand strong {
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  margin-right: 10px;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.footer-admin-link {
  background: none;
  border: 1px solid rgba(216, 190, 130, 0.32);
  color: var(--gold-light);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.79rem;
  cursor: pointer;
}

.footer-copy {
  margin: 0;
  width: 100%;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PANEL DE ADMINISTRACIÓN PRIVADO (LINEAR / APPLE STUDIO)
   ========================================================================== */
.admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: #0a0b0e;
  overflow-y: auto;
}

.admin-overlay[hidden] {
  display: none;
}

.admin-login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at top, #141720 0%, #050507 100%);
}

.admin-login-screen[hidden] {
  display: none;
}

.admin-login-card {
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75);
}

.admin-login-visual {
  position: relative;
  min-height: 520px;
  background: #07080b;
}

.admin-login-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.admin-login-visual-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.58) 0%, rgba(5, 5, 7, 0.92) 100%);
  color: #f5f5f7;
}

.brand-text-lg strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.16em;
}

.brand-text-lg small {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--gold-main);
  letter-spacing: 0.16em;
}

.admin-login-visual-overlay h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.06;
  margin: 0;
}

.admin-login-form-side {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.admin-back-public {
  align-self: flex-start;
  background: none;
  border: none;
  color: #64748b;
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 24px;
}

.admin-login-form-side h3 {
  font-family: var(--font-display);
  font-size: 1.72rem;
  margin: 0 0 6px;
}

.admin-login-hint {
  margin: 0 0 24px;
  font-size: 0.89rem;
  color: #64748b;
}

.admin-field {
  margin-bottom: 16px;
}

.admin-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.91rem;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
}

.password-input-wrap {
  position: relative;
}

.toggle-pass-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.demo-credentials-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.78rem;
  color: #475569;
  margin-bottom: 16px;
}

.btn-link-gold {
  background: none;
  border: none;
  color: #8f7235;
  font-weight: 700;
  cursor: pointer;
}

.admin-error-msg {
  padding: 10px 12px;
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  font-size: 0.82rem;
  margin-bottom: 14px;
}

.btn-admin-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  border: none;
  background: var(--gold-gradient);
  color: #090b0f;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 150ms var(--ease-out);
  box-shadow: 0 6px 18px rgba(216, 190, 130, 0.25);
}

.btn-admin-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 9px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #334155;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 150ms var(--ease-out);
}

.btn-admin-danger {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #dc2626;
  cursor: pointer;
}

.btn-xs {
  padding: 6px 10px;
  font-size: 0.77rem;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 245px 1fr;
  background: #f5f6f8;
  color: #0f172a;
}

.admin-shell[hidden] {
  display: none;
}

.admin-sidebar {
  background: #08090c;
  color: #f5f5f7;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.admin-sidebar-brand {
  padding: 0 10px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.admin-sidebar-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: 0.14em;
}

.admin-sidebar-brand small {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--gold-main);
  letter-spacing: 0.14em;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
  transition: transform 150ms var(--ease-out), background-color 180ms ease;
}

.admin-nav-item.active {
  background: var(--gold-gradient);
  color: #08090c;
}

.nav-count-badge {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.72rem;
}

.admin-sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-footer-action {
  padding: 9px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.admin-footer-action:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f5f5f7;
}

.admin-footer-action.danger:hover {
  color: #f87171;
}

.admin-main {
  padding: 34px 38px;
  overflow-x: hidden;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.admin-topbar h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 4px;
}

.admin-topbar p {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.admin-search-box {
  flex: 1;
  max-width: 440px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #64748b;
}

.admin-search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.89rem;
}

.admin-counter {
  font-size: 0.84rem;
  color: #64748b;
  font-weight: 600;
}

.admin-table-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  padding: 14px 18px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.admin-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.admin-table-thumb {
  width: 82px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
}

.admin-table-sub {
  display: block;
  font-size: 0.79rem;
  color: #64748b;
}

.admin-finish-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.77rem;
  font-weight: 600;
}

.admin-status-pill {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 700;
}

.admin-status-pill.published {
  background: #dcfce7;
  color: #15803d;
}

.admin-status-pill.draft {
  background: #fef3c7;
  color: #b45309;
}

.admin-row-actions {
  display: flex;
  gap: 8px;
}

.admin-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: #64748b;
}

.admin-breadcrumb button {
  background: none;
  border: none;
  color: #8f7235;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.edit-service-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.edit-service-form-card,
.live-preview-card,
.admin-add-image-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px;
}

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

.image-upload-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

#edit-svc-thumb-preview {
  width: 140px;
  height: 86px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #d1d5db;
  background: #08090c;
}

.image-upload-controls small {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 0.75rem;
}

.preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  margin-bottom: 12px;
}

.preset-chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #f8fafc;
  color: #334155;
  font-size: 0.72rem;
  cursor: pointer;
}

.preset-chip:hover {
  border-color: var(--gold-dark);
  background: #fefce8;
}

.edit-service-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}

.live-preview-title {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 12px;
}

.live-preview-box {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #1e293b;
  background: #0a0c11;
  color: #f5f5f7;
}

.live-preview-img-wrap {
  position: relative;
  height: 175px;
}

.live-preview-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-preview-img-wrap .finish-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.live-preview-body {
  padding: 18px;
}

.live-preview-body h4 {
  margin: 0 0 6px;
  font-family: var(--font-display);
}

.live-short {
  margin: 0 0 8px;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.87rem;
}

.live-desc {
  margin: 0;
  color: #989ea8;
  font-size: 0.83rem;
}

.admin-gallery-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr;
  gap: 24px;
  align-items: start;
}

.admin-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.admin-filter-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #334155;
  font-weight: 600;
  font-size: 0.83rem;
  cursor: pointer;
}

.admin-filter-pill.active {
  background: var(--gold-gradient);
  border-color: transparent;
  color: #08090c;
}

.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}

.admin-gal-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.admin-gal-img-wrap {
  position: relative;
  height: 138px;
  background: #08090c;
}

.admin-gal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-gal-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(8, 9, 13, 0.86);
  color: var(--gold-light);
  font-size: 0.69rem;
  font-weight: 700;
}

.admin-gal-info {
  padding: 12px;
}

.admin-gal-info strong {
  display: block;
  font-size: 0.87rem;
  margin-bottom: 10px;
}

.admin-gal-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.panel-form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.panel-form-head h3 {
  margin: 0;
  font-family: var(--font-display);
}

.btn-link-muted {
  background: none;
  border: none;
  color: #64748b;
  font-size: 0.79rem;
  cursor: pointer;
  text-decoration: underline;
}

.dropzone-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 155px;
  border-radius: 12px;
  border: 2px dashed #cbd5e1;
  background: #f8fafc;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 10px;
}

.dropzone-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropzone-placeholder {
  text-align: center;
  color: #64748b;
  padding: 14px;
}

.dropzone-placeholder span {
  display: block;
  font-size: 1.7rem;
}

.dropzone-placeholder strong {
  display: block;
  color: #0f172a;
  font-size: 0.89rem;
}

.dropzone-placeholder small {
  font-size: 0.75rem;
}

.admin-inquiries-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inquiry-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 20px;
}

.inquiry-card.unread {
  border-left: 4px solid var(--gold-main);
}

.inquiry-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.inquiry-time {
  font-size: 0.77rem;
  color: #64748b;
}

.inquiry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.83rem;
  color: #475569;
  margin-bottom: 10px;
}

.inquiry-msg {
  margin: 0 0 12px;
  font-size: 0.91rem;
  color: #1e293b;
}

.inquiry-read-tag {
  font-size: 0.77rem;
  font-weight: 700;
  color: #15803d;
}

.admin-empty-cell {
  text-align: center;
  padding: 36px;
  color: #64748b;
}

/* ==========================================================================
   TOASTS & UTILIDADES
   ========================================================================== */
.toast-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 220;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-item {
  padding: 11px 18px;
  border-radius: 12px;
  background: rgba(12, 14, 20, 0.92);
  backdrop-filter: blur(14px);
  color: #f5f5f7;
  border: 1px solid var(--border-gold);
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition: opacity 280ms ease, transform 400ms var(--ease-out);
}

.toast-item.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.empty-state-box {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  color: var(--text-secondary);
}

/* ==========================================================================
   RESPONSIVE & ACCESIBILIDAD
   ========================================================================== */
@media (max-width: 1140px) {
  .nav-link {
    padding: 6px 9px;
    font-size: 0.8rem;
  }

  .navbar .btn-sm {
    padding: 7px 12px;
    font-size: 0.78rem;
  }
}

@media (max-width: 1040px) {
  .ppf-stage-layout,
  .nosotros-grid,
  .zones-interactive-grid,
  .contact-layout,
  .edit-service-grid,
  .admin-gallery-layout {
    grid-template-columns: 1fr;
  }

  .car3d-sticky-wrapper {
    position: relative;
    top: 0;
  }

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

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

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

  .packages-grid,
  .finish-trio-grid,
  .pillars-grid,
  .benefits-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 940px) {
  .nav-links-pill {
    position: fixed;
    top: 74px;
    left: 16px;
    right: 16px;
    border-radius: 16px;
    background: rgba(8, 9, 13, 0.96);
    flex-direction: column;
    padding: 14px;
    display: none;
  }

  .nav-links-pill.open {
    display: flex;
  }

  .nav-wa-btn {
    display: none;
  }

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

@media (max-width: 820px) {
  .telemetry-strip,
  .packages-grid,
  .finish-trio-grid,
  .pillars-grid,
  .benefits-strip,
  .gallery-grid,
  .mini-gallery-strip,
  .form-row-2,
  .admin-row-2,
  .admin-login-card,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .telemetry-cell {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-left: 0;
  }

  .telemetry-cell:last-child {
    border-bottom: none;
  }

  .hud-bottom-dock {
    position: static;
    flex-direction: column;
    align-items: stretch;
    margin: 12px;
  }

  .cam-presets-bar {
    display: none;
  }

  .car3d-viewport-card {
    height: auto;
    min-height: 490px;
  }

  #armex-3d-canvas {
    height: 360px;
  }

  .admin-login-visual {
    min-height: 240px;
  }

  .admin-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
}

.btn-admin-gold:active,
.btn-admin-outline:active,
.admin-nav-item:active,
.admin-filter-pill:active,
.preset-chip:active {
  transform: scale(0.97);
}

@media (hover: none), (pointer: coarse) {
  .finish-showcase-card:hover,
  .service-card:hover,
  .package-card:hover,
  .gallery-card:hover img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pulse-dot {
    animation: none;
  }

  .btn,
  .finish-pill,
  .filter-pill,
  .zone-pin,
  .cam-preset-btn,
  .story-step,
  .lightbox-card,
  .toast-item,
  .service-card,
  .package-card,
  .finish-showcase-card,
  .gallery-card img {
    transition-duration: 0.01ms !important;
  }
}


/* ==========================================================================
   SISTEMA OFICIAL ARMEX® — BASADO EN BOCETO_DE_WEB.SVG
   - Giro de 180° al scrollear ("SIN ARMEX" -> "CON ARMEX") con palabras
     centradas y ligeramente ocultas detrás del techo del auto.
   - Sin auto 3D innecesario.
   - Etiqueta Promocional Personalizable con marca de agua diagonal ARMEX.
   - Especificaciones de medidas de imágenes en el Panel Admin.
   Paleta: #000000 | #9C764F | #CEB8A5
   Tipografías: Futura Md BT Bold + Michroma Regular
   ========================================================================== */

body.is-loading {
  overflow: hidden;
}

.text-sand {
  color: var(--armex-sand);
}

.btn-bronze,
.btn-admin-bronze {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #CEB8A5 0%, #9F8469 42%, #9C764F 100%);
  color: #000000;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.05em;
  border: 1px solid rgba(206, 184, 165, 0.45);
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(156, 118, 79, 0.35);
  transition: transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.btn-bronze:active,
.btn-admin-bronze:active {
  transform: scale(0.97);
}

.btn-outline-sand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(156, 118, 79, 0.08);
  color: var(--armex-sand);
  border: 1px solid var(--armex-sand);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 180ms ease;
}

/* --------------------------------------------------------------------------
   1. PRELOADER DE ENTRADA (ARTBOARD 1 DE BOCETO_DE_WEB.SVG)
   -------------------------------------------------------------------------- */
.armex-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 420ms var(--ease-out), visibility 420ms var(--ease-out);
}

.armex-preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-radial-glow {
  position: absolute;
  width: min(850px, 95vw);
  height: min(650px, 85vh);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #9F8469 0%,
    rgba(159, 132, 105, 0.52) 42%,
    rgba(0, 0, 0, 0) 76%
  );
  filter: blur(18px);
  animation: preloaderPulse 2.2s var(--ease-in-out) infinite alternate;
}

@keyframes preloaderPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.03);
    opacity: 1;
  }
}

.preloader-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: min(640px, 90vw);
}

.preloader-logo-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  filter: drop-shadow(0 12px 34px rgba(0, 0, 0, 0.75));
  animation: logoEntrance 550ms var(--ease-out) forwards;
}

@keyframes logoEntrance {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.preloader-bar-wrap {
  width: min(240px, 60vw);
  height: 3px;
  background: rgba(206, 184, 165, 0.22);
  border-radius: 999px;
  overflow: hidden;
}

.preloader-bar-fill {
  height: 100%;
  width: 15%;
  background: linear-gradient(90deg, #9C764F, #ffffff, #CEB8A5);
  border-radius: 999px;
  transition: width 160ms var(--ease-out);
}

.preloader-status-txt {
  font-family: var(--font-michroma);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--armex-sand);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   2. HEADER / NAVBAR OFICIAL ARMEX (EXACTO A BOCETO_DE_WEB.SVG)
   -------------------------------------------------------------------------- */
.navbar {
  background: #000000;
  border-bottom: 1px solid rgba(156, 118, 79, 0.28);
  transition: background-color 240ms var(--ease-out), border-color 240ms var(--ease-out);
}

/* Durante el inicio del giro ("SIN ARMEX"), el fondo de la barra es transparente
   y solo destaca la píldora "Cotiza con los EXPERTOS" y el acceso Admin */
.navbar.is-intro-mode {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.navbar.is-intro-mode .brand-logo,
.navbar.is-intro-mode .nav-links {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.navbar .brand-logo,
.navbar .nav-links {
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}

.navbar-inner {
  height: 84px;
}

.brand-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.navbar-logo-svg {
  height: 26px;
  width: auto;
  display: block;
}

.navbar-logo-sub {
  font-family: var(--font-michroma);
  font-size: 0.44rem;
  letter-spacing: 0.22em;
  color: #ffffff;
  white-space: nowrap;
}

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

/* Líneas verticales color bronce #9C764F entre items de menú (st16 en boceto_de_web.svg) */
.nav-sep {
  display: inline-block;
  width: 1px;
  height: 30px;
  background: #9C764F;
  margin: 0 14px;
}

.nav-link {
  font-family: var(--font-michroma);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: #ffffff;
  padding: 6px 4px;
  border-radius: 0;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--armex-sand);
  background: transparent;
  box-shadow: none;
}

.btn-admin-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(206, 184, 165, 0.36);
  color: var(--armex-sand);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 180ms ease;
}

.btn-admin-trigger:hover {
  background: rgba(156, 118, 79, 0.32);
  color: #ffffff;
}

.btn-admin-trigger:active {
  transform: scale(0.97);
}

/* Píldora #F4F0ED Oficial "Cotiza con los EXPERTOS" (st4 en boceto_de_web.svg) */
.expert-quote-pill {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #F4F0ED;
  color: #000000;
  padding: 8px 20px 8px 16px;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
  transition: transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.expert-quote-pill:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .expert-quote-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(156, 118, 79, 0.45);
  }
}

.expert-triangle-icon svg {
  width: 34px;
  height: 18px;
  display: block;
}

.expert-pill-text {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
  text-align: left;
}

.expert-pill-text small {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  color: #000000;
}

.expert-pill-text strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #9C764F;
}

/* --------------------------------------------------------------------------
   3. ANIMACIÓN DE GIRO 180° AL SCROLLEAR: "SIN ARMEX" -> "CON ARMEX"
   - Palabras centradas y ligeramente ocultas detrás del techo del auto
   - Giro rápido y fluido sin demorar al usuario
   - Blur progresivo hasta que el auto tuneado queda 100% girado
   -------------------------------------------------------------------------- */
.section-inicio {
  padding-top: 0;
  background: #000000;
}

/* Runway corto y ágil (175vh) para que el giro se complete con un scroll rápido */
.intro-scroll-runway {
  position: relative;
  height: 175vh;
  background: #000000;
}

.intro-sticky-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
}

/* Gradiente radial idéntico a boceto_de_web.svg: #CEB8A5 (0%) -> #9F8469 (41.7%) -> #000000 (100%) */
.studio-radial-spotlight {
  position: absolute;
  inset: -12%;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 52%,
    #CEB8A5 0%,
    #9F8469 36%,
    rgba(159, 132, 105, 0.35) 54%,
    #000000 79%
  );
}

.intro-stage-container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Rueda que contiene ambas mitades pegadas llanta con llanta y gira de 0deg a 180deg */
.mirror-wheel-stage {
  position: relative;
  width: min(860px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform-origin: 50% 50%;
  will-change: transform;
}

.wheel-half {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  will-change: filter, opacity;
}

/* La mitad inferior ("CON ARMEX" + auto azul) está rotada 180° formando el reflejo inferior;
   cuando toda la rueda (.mirror-wheel-stage) gira 180° al scrollear, esta mitad queda arriba a 360° (0° al derecho) */
.wheel-half-con {
  transform: rotate(180deg);
}

/* Eje de sombra donde se tocan los neumáticos de ambos autos (como en tu captura de Illustrator) */
.wheel-reflection-axis {
  width: 82%;
  height: 10px;
  margin: -10px 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.55) 55%,
    transparent 85%
  );
  z-index: 4;
  pointer-events: none;
}

/* Bloque tipográfico centrado y ubicado DETRÁS del techo del auto (z-index: 1) */
.behind-car-typography {
  width: 78%;
  max-width: 660px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  user-select: none;
}

.top-row-sin-con {
  width: 100%;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 4px;
}

.word-sin-con {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2.1rem, 4.3vw, 3.55rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-transform: uppercase;
  flex-shrink: 0;
}

.bronze-rule-line {
  flex: 1;
  height: 1.5px;
  background: #9C764F;
  margin-bottom: 5px;
}

/* Claim "PROTEGE LO EXTRAORDINARIO" de boceto_de_web.svg (Michroma + Gradiente #CEB8A5 -> #9F8469) */
.con-row-with-claim {
  position: relative;
}

.extraordinario-claim {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  line-height: 1.15;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
}

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

.claim-small {
  font-family: var(--font-michroma);
  font-size: clamp(0.54rem, 0.9vw, 0.72rem);
  letter-spacing: 0.14em;
  color: #ffffff;
}

.claim-big {
  font-family: var(--font-michroma);
  font-size: clamp(0.75rem, 1.35vw, 1.14rem);
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, #CEB8A5 0%, #9F8469 65%, #7F430D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* Logo ARMEX® centrado cuyo borde inferior queda oculto detrás del techo/ventanas del auto */
.behind-car-armex-svg {
  width: 100%;
  height: auto;
  max-height: 92px;
  object-fit: contain;
  display: block;
}

/* Contenedor del Auto (z-index: 3) superpuesto sobre la mitad inferior de la palabra ARMEX® */
.car-overlap-box {
  width: 92%;
  max-width: 760px;
  margin-top: -54px; /* Superpone el techo del auto sobre la base de ARMEX® como en tu imagen */
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
}

.car-render-img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  display: block;
}

/* El auto sucio mira hacia la izquierda como en tu diseño de Illustrator */
.car-dirty-img {
  transform: scaleX(-1);
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.75));
}

/* El auto azul tuneado (cuando la mitad CON gira 180°, queda mirando a la derecha como en el Artboard 3) */
.car-tuned-img {
  transform: scaleX(-1);
  mix-blend-mode: lighten;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.85));
}

/* Indicador inferior de Scroll */
.scroll-prompt-indicator {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 10;
  transition: opacity 220ms var(--ease-out);
}

.scroll-prompt-text {
  font-family: var(--font-michroma);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--armex-sand);
  background: rgba(0, 0, 0, 0.72);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(206, 184, 165, 0.3);
}

.scroll-mouse-pill {
  width: 20px;
  height: 30px;
  border-radius: 999px;
  border: 1.5px solid var(--armex-sand);
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-wheel-dot {
  width: 3.5px;
  height: 6px;
  border-radius: 999px;
  background: var(--armex-bronze);
  animation: wheelScrollAnim 1.3s var(--ease-in-out) infinite;
}

@keyframes wheelScrollAnim {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(9px);
    opacity: 0.15;
  }
}

/* --------------------------------------------------------------------------
   4. SECCIÓN DE ATERRIZAJE PRINCIPAL: ETIQUETA PROMOCIONAL + BENEFICIOS DEL PPF
   (FIEL AL ARTBOARD 3 DE BOCETO_DE_WEB.SVG)
   -------------------------------------------------------------------------- */
.home-principal-landing {
  position: relative;
  z-index: 15;
  background: #ffffff;
  color: #121212;
  padding: 54px 0 76px;
}

.home-landing-container {
  position: relative;
}

/* Etiqueta Flotante Personalizable ("20% DE DESCUENTO EN PPF GLOSS") */
.promo-floating-badge {
  position: absolute;
  top: -185px;
  left: 0;
  width: min(285px, 86vw);
  padding: 22px 18px 16px;
  border-radius: 18px;
  background: linear-gradient(
    90deg,
    #CEB8A5 0%,
    #9F8469 42%,
    #9F8469 100%
  );
  border: 2.5px solid #ffffff;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
  color: #ffffff;
  text-align: center;
  z-index: 25;
  overflow: hidden;
  transition: transform 280ms var(--ease-out), opacity 280ms var(--ease-out);
}

/* Marca de agua diagonal ARMEX al 25% de opacidad (st33 en boceto_de_web.svg) */
.promo-watermark-logo {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 122%;
  max-width: none;
  transform: translate(-50%, -50%) rotate(-16deg);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.promo-floating-badge > *:not(.promo-watermark-logo) {
  position: relative;
  z-index: 1;
}

.promo-floating-badge.is-preview-mode {
  position: relative;
  top: 0;
  margin: 0 auto;
}

.promo-floating-badge.is-locked-by-scroll {
  opacity: 0;
  transform: translateY(22px) scale(0.95);
  pointer-events: none;
}

.promo-close-btn {
  position: absolute !important;
  top: 9px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  background: linear-gradient(90deg, #CEB8A5 0%, #9F8469 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3 !important;
  transition: transform 160ms var(--ease-out);
}

.promo-close-btn:active {
  transform: scale(0.95);
}

.promo-custom-img-wrap {
  margin-bottom: 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.promo-custom-img-wrap img {
  width: 100%;
  max-height: 165px;
  object-fit: cover;
}

.promo-text-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  margin-bottom: 14px;
}

.promo-discount-big {
  font-family: var(--font-display);
  font-size: clamp(3.3rem, 4.8vw, 4.25rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  /* Borde bronce #9C764F como st35 en boceto_de_web.svg */
  text-shadow:
    -1.5px -1.5px 0 #9C764F,
     1.5px -1.5px 0 #9C764F,
    -1.5px  1.5px 0 #9C764F,
     1.5px  1.5px 0 #9C764F;
}

.promo-subtitle-line {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin: 3px 0 6px;
  text-transform: uppercase;
  text-shadow:
    -1px -1px 0 #9C764F,
     1px -1px 0 #9C764F,
    -1px  1px 0 #9C764F,
     1px  1px 0 #9C764F;
}

/* "PPF GLOSS" con relleno #9C764F y borde blanco de 3px (st38 + st8 en boceto_de_web.svg) */
.promo-outline-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.65rem, 2.5vw, 2.05rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #9C764F;
  text-shadow:
    -1.6px -1.6px 0 #ffffff,
     1.6px -1.6px 0 #ffffff,
    -1.6px  1.6px 0 #ffffff,
     1.6px  1.6px 0 #ffffff,
     0px    2px   6px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
}

/* Botón Blanco "OBTENER OFERTA" con ícono WhatsApp */
.promo-wa-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #ffffff;
  color: #000000;
  padding: 8px 14px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1.08;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: transform 160ms var(--ease-out);
}

.promo-wa-cta:active {
  transform: scale(0.97);
}

.wa-icon-outline {
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.promo-cta-txt {
  text-align: left;
}

.promo-quick-edit-pill {
  margin-top: 9px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.promo-reopen-chip {
  position: fixed;
  left: 20px;
  bottom: 22px;
  z-index: 80;
  background: var(--armex-bronze);
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

/* Sección Blanca Limpia: BENEFICIOS DEL PPF (Fiel a beneficios_ppf_boceto.jpg en boceto_de_web.svg) */
.benefits-white-section {
  padding-top: 6px;
}

.benefits-header-center {
  text-align: center;
  margin-bottom: 44px;
}

.benefits-main-title {
  font-family: var(--font-michroma);
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #000000;
  margin: 0;
  text-transform: uppercase;
}

.benefits-four-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: start;
}

.benefit-clean-col {
  padding: 8px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-clean-icon {
  width: 62px;
  height: 62px;
  color: #141414;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.benefit-clean-icon svg {
  width: 48px;
  height: 48px;
}

.benefit-clean-col h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: #141414;
  margin: 0 0 12px;
  line-height: 1.25;
}

.benefit-clean-col p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #262626;
  margin: 0;
  max-width: 27ch;
}

/* Footer logo */
.footer-logo-svg {
  height: 34px;
  width: auto;
  margin-bottom: 6px;
}

/* --------------------------------------------------------------------------
   5. PANEL DE ADMINISTRACIÓN MULTI-ROL + CAJAS DE MEDIDAS DE IMÁGENES
   -------------------------------------------------------------------------- */
.admin-login-logo {
  width: 210px;
  height: auto;
  margin-bottom: 16px;
}

.admin-sidebar-logo {
  width: 150px;
  height: auto;
  margin-bottom: 8px;
}

.admin-active-role-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(156, 118, 79, 0.24);
  border: 1px solid var(--armex-sand);
  color: var(--armex-sand);
  font-size: 0.72rem;
  font-weight: 700;
}

.role-quick-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.role-quick-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 11px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms var(--ease-out);
}

.role-quick-btn strong {
  font-size: 0.8rem;
  display: block;
}

.role-quick-btn small {
  font-size: 0.68rem;
  color: #64748b;
}

.role-quick-btn.active {
  border-color: var(--armex-bronze);
  background: rgba(156, 118, 79, 0.12);
}

.role-quick-btn:active {
  transform: scale(0.97);
}

.admin-role-tag {
  display: inline-block;
  font-family: var(--font-michroma);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--armex-bronze);
  font-weight: 700;
  margin-bottom: 4px;
}

/* Cajas informativas con las medidas exactas requeridas para imágenes en el Panel Admin */
.admin-dimensions-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.dim-guide-item {
  background: #fffaf5;
  border: 1px solid rgba(156, 118, 79, 0.42);
  border-left: 4px solid #9C764F;
  border-radius: 10px;
  padding: 11px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dim-guide-item strong {
  font-size: 0.82rem;
  color: #0f172a;
}

.dim-guide-item span {
  font-size: 0.78rem;
  color: #475569;
}

.admin-measure-spec {
  margin-top: 6px;
  padding: 8px 11px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  font-size: 0.76rem;
  color: #334155;
  line-height: 1.45;
}

.admin-measure-spec code {
  background: rgba(156, 118, 79, 0.15);
  color: #7d5b39;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 700;
}

.promo-preview-stage {
  background: radial-gradient(circle, #382b20 0%, #0d0b09 100%);
  padding: 32px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-benefits-grid,
.admin-packages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.admin-benefit-card,
.admin-package-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
}

.admin-benefit-card h4,
.admin-package-card h4 {
  margin: 0 0 12px;
  color: #0f172a;
}

/* Responsive para las 4 columnas de beneficios y la etiqueta flotante */
@media (max-width: 1080px) {
  .promo-floating-badge {
    position: relative;
    top: 0;
    margin: -110px auto 36px;
  }

  .benefits-four-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 860px) {
  .navbar-inner {
    height: 74px;
  }

  .nav-links {
    position: fixed;
    top: 74px;
    left: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.96);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    flex-direction: column;
    padding: 16px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-sep {
    display: none;
  }

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

  .car-overlap-box {
    margin-top: -28px;
  }

  .benefits-four-grid,
  .admin-benefits-grid,
  .admin-packages-grid,
  .role-quick-selector {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   6. REFINAMIENTO EDITORIAL DE INTERFACES INTERNAS & SHOWROOM DE AUTOS
   (NOSOTROS, SERVICIOS, ZONAS CON AUTO REAL, PAQUETES CON AUTOS, GALERÍA & CONTACTO)
   ========================================================================== */

/* Espaciado superior limpio para todas las páginas internas bajo el navbar fijo */
.page-view.section-pad {
  padding-top: 128px;
  padding-bottom: 100px;
  background:
    radial-gradient(circle at 50% 0%, rgba(156, 118, 79, 0.16) 0%, rgba(0, 0, 0, 0) 60%),
    #000000;
}

.section-eyebrow {
  font-family: var(--font-michroma);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--armex-sand);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* NOSOTROS: Vitrina limpia para el BMW M3 azul real */
.studio-photo-frame {
  background: radial-gradient(
    circle at 50% 54%,
    rgba(206, 184, 165, 0.42) 0%,
    rgba(156, 118, 79, 0.24) 44%,
    #050505 85%
  );
  border: 1px solid rgba(206, 184, 165, 0.25);
  border-radius: 22px;
  padding: 28px 18px 46px;
}

.studio-photo-frame img {
  height: 340px;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.9));
}

.pillar-card {
  background: #070606;
  transition: background-color 200ms ease;
}

.pillar-card:hover {
  background: #0e0c0a;
}

/* SERVICIOS: Tarjetas de estudio limpias con encuadre automotriz completo */
.services-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #080706;
  border: 1px solid rgba(206, 184, 165, 0.16);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.6);
}

.service-card-media {
  height: 215px;
  background: radial-gradient(
    circle at 50% 52%,
    rgba(206, 184, 165, 0.28) 0%,
    rgba(156, 118, 79, 0.14) 48%,
    #040404 90%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(206, 184, 165, 0.12);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 380ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-card-media img {
    transform: scale(1.04);
  }
}

/* ZONAS DE PROTECCIÓN CON EL BMW M3 REAL (Adiós dibujo antiguo) */
.zones-panel {
  background: #070605;
  border: 1px solid rgba(206, 184, 165, 0.18);
  border-radius: 24px;
  padding: 38px;
}

.zones-schematic-box {
  background: #030303;
  border: 1px solid rgba(206, 184, 165, 0.16);
  border-radius: 20px;
  padding: 28px 20px;
  overflow: hidden;
}

.real-car-zone-stage {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.real-car-spotlight {
  position: absolute;
  inset: -15%;
  background: radial-gradient(
    circle at 50% 54%,
    rgba(206, 184, 165, 0.48) 0%,
    rgba(156, 118, 79, 0.25) 38%,
    transparent 74%
  );
  pointer-events: none;
}

.zones-real-car-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 265px;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.9));
}

.zone-pin {
  z-index: 3;
  background: rgba(0, 0, 0, 0.85);
  border: 1.5px solid var(--armex-sand);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  padding: 6px 13px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.65);
}

.zone-detail-card {
  background: #0b0a09;
  border: 1px solid rgba(206, 184, 165, 0.2);
  border-radius: 20px;
}

/* PAQUETES: Tarjetas limpias con vitrina de deportivo en la cabecera */
.package-card {
  padding: 0;
  overflow: hidden;
  background: #080706;
  border: 1px solid rgba(206, 184, 165, 0.16);
  border-radius: 22px;
}

.package-card:nth-child(n + 4) {
  padding: 0;
  background: #080706;
}

.package-car-banner {
  position: relative;
  height: 175px;
  background: radial-gradient(
    circle at 50% 55%,
    rgba(206, 184, 165, 0.34) 0%,
    rgba(156, 118, 79, 0.16) 46%,
    #040404 92%
  );
  border-bottom: 1px solid rgba(206, 184, 165, 0.14);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.package-car-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 380ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .package-card:hover .package-car-banner img {
    transform: scale(1.04);
  }
}

.package-car-banner .package-badge {
  position: absolute;
  top: 12px;
  left: 14px;
  margin: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  border-color: rgba(206, 184, 165, 0.42);
}

.package-body-clean {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* GALERÍA: Encuadre limpio donde se aprecian los deportivos completos */
.gallery-card {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(206, 184, 165, 0.25) 0%,
    #050505 85%
  );
  border: 1px solid rgba(206, 184, 165, 0.18);
  border-radius: 20px;
}

@media (max-width: 1040px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   7. CORRECCIÓN EXACTA DEL GIRO 180°, SVG DETRÁS DE AUTOS, ICONOS DORADOS,
      BANNER CARRUSEL DERECHA->IZQUIERDA & NOSOTROS PREMIUM EN PÁGINA 1
   ========================================================================== */

/* Iconografía Vectorial Oficial (extraída de iconografia-01.svg) con Degradado Dorado ARMEX */
.armex-icon-gold {
  display: inline-block;
  fill: url(#armexGoldGrad);
  flex-shrink: 0;
}

.armex-icon-dark {
  display: inline-block;
  fill: #000000;
  flex-shrink: 0;
}

.armex-icon-white {
  display: inline-block;
  fill: #ffffff;
  flex-shrink: 0;
}

.icon-xs { width: 16px; height: 16px; }
.icon-sm { width: 22px; height: 22px; }
.icon-md { width: 32px; height: 32px; }
.icon-lg { width: 46px; height: 46px; }

.text-gold-lux {
  background: linear-gradient(125deg, #F2E2BA 0%, #CEB8A5 42%, #9C764F 88%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- CORRECCIÓN DEL ESCENARIO DE GIRO 180° SIN ESPACIO VACÍO Y SIN TAPARSE CON EL NAVBAR --- */
.intro-scroll-runway {
  height: 165vh; /* Recorrido ágil */
  background: #000000;
}

.intro-sticky-viewport {
  padding-top: 24px;
}

.mirror-wheel-stage {
  width: min(880px, 92vw);
  margin-top: 0;
  transform-origin: 50% 50%;
}

/* Contenedor de los archivos SVG oficiales del usuario detrás de cada auto */
.svg-behind-car-wrap {
  width: min(760px, 86vw);
  margin-inline: auto;
  position: relative;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.svg-behind-car-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}

/* Superposición limpia: el techo del auto tapa sutilmente la parte baja de ARMEX® */
.car-overlap-box {
  width: min(760px, 88vw);
  margin-top: -102px;
  position: relative;
  z-index: 3;
}

.car-render-img {
  width: 100%;
  height: auto;
  max-height: 235px;
  object-fit: contain;
}

/* CORRECCIÓN CRÍTICA: El auto rayado SIN PPF NO lleva scaleX(-1) para que "SIN PPF :(" se lea AL DERECHO */
.car-dirty-img {
  transform: none !important;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.8));
}

/* El auto azul tuneado mirando a la derecha igual que el auto rayado */
.car-tuned-img {
  transform: none !important;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.9));
}

.wheel-reflection-axis {
  width: 78%;
  height: 8px;
  margin: -10px 0;
  transition: opacity 220ms ease;
}

/* Ajuste de la Etiqueta Flotante y el corte del bloque blanco para eliminar el hueco vacío debajo del auto */
.home-principal-landing {
  margin-top: -110px;
  padding-top: 64px;
  padding-bottom: 84px;
  border-top: 3px solid #9C764F;
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.65);
}

.promo-floating-badge {
  top: -158px;
}

.benefits-kicker {
  display: inline-block;
  font-family: var(--font-michroma);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: #9C764F;
  margin-bottom: 10px;
}

.benefit-clean-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(145deg, #11100e 0%, #000000 100%);
  border: 1px solid rgba(156, 118, 79, 0.42);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.benefit-clean-icon svg {
  width: 34px;
  height: 34px;
}

/* --- 3. BANNER DE PERSONALIZACIÓN & PROMOCIONES (MARQUEE DERECHA -> IZQUIERDA) --- */
.home-promo-marquee-section {
  background: #040404;
  padding: 84px 0;
  border-top: 1px solid rgba(206, 184, 165, 0.14);
  border-bottom: 1px solid rgba(206, 184, 165, 0.14);
  overflow: hidden;
}

.marquee-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.home-sub-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
}

.btn-xs-pill {
  padding: 8px 15px;
  font-size: 0.78rem;
}

.promo-marquee-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.promo-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: armexMarqueeRTL 34s linear infinite;
  will-change: transform;
}

.promo-marquee-viewport:hover .promo-marquee-track {
  animation-play-state: paused;
}

@keyframes armexMarqueeRTL {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.promo-banner-slide {
  width: min(460px, 84vw);
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #0a0908;
  border: 1px solid rgba(206, 184, 165, 0.22);
  display: grid;
  grid-template-columns: 0.44fr 0.56fr;
  min-height: 196px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  transition: border-color 200ms ease, transform 220ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .promo-banner-slide:hover {
    border-color: #9C764F;
    transform: translateY(-3px);
  }
}

.promo-banner-media {
  position: relative;
  background: #000000;
  overflow: hidden;
}

.promo-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-banner-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.promo-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-michroma);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: #CEB8A5;
  text-transform: uppercase;
}

.promo-banner-body h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.18;
  margin: 4px 0 6px;
  color: #ffffff;
}

.promo-banner-body p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #b5a799;
}

.promo-banner-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #CEB8A5 0%, #9C764F 100%);
  color: #000000;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out);
}

.promo-banner-cta:active {
  transform: scale(0.97);
}

/* --- 4. SECCIÓN EDITORIAL PREMIUM "NOSOTROS" (MONOCROMO + DEGRADADO DORADO + GRÁFICOS SVG AVANZADOS) --- */
.home-nosotros-premium {
  background:
    radial-gradient(circle at 85% 30%, rgba(156, 118, 79, 0.12) 0%, transparent 55%),
    #000000;
  padding: 104px 0;
}

.nosotros-premium-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 58px;
  align-items: center;
  margin-bottom: 58px;
}

.atelier-photo-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(206, 184, 165, 0.22);
  background: #080706;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.78);
}

.atelier-real-photo {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.atelier-photo-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(206, 184, 165, 0.24);
}

.atelier-photo-caption strong {
  display: block;
  font-family: var(--font-michroma);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 2px;
}

.atelier-photo-caption span {
  font-size: 0.78rem;
  color: #CEB8A5;
}

/* Anillos SVG de Telemetría Premium (Solo negro, blanco y degradado dorado) */
.luxury-telemetry-rings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 34px 0 38px;
  padding: 24px 0;
  border-top: 1px solid rgba(206, 184, 165, 0.16);
  border-bottom: 1px solid rgba(206, 184, 165, 0.16);
}

.ring-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.svg-ring-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 12px;
}

.telemetry-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-track {
  fill: none;
  stroke: rgba(206, 184, 165, 0.12);
  stroke-width: 5;
}

.ring-fill {
  fill: none;
  stroke: url(#armexGoldGrad);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 264;
}

.ring-val {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  color: #ffffff;
}

.ring-val small {
  font-size: 0.62rem;
  color: #CEB8A5;
  margin-left: 2px;
}

.ring-metric-item strong {
  font-family: var(--font-michroma);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 3px;
}

.ring-metric-item span {
  font-size: 0.76rem;
  color: #9a8c7e;
}

.home-editorial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Matriz Avanzada Monocromo + Dorado en Página 02 Nosotros */
.advanced-tech-matrix {
  margin-top: 28px;
  padding: 26px;
  border-radius: 18px;
  background: #070606;
  border: 1px solid rgba(206, 184, 165, 0.18);
}

.matrix-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-michroma);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: #9a8c7e;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(206, 184, 165, 0.12);
}

.matrix-metric-row {
  margin-bottom: 16px;
}

.matrix-metric-row:last-child {
  margin-bottom: 0;
}

.matrix-label-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  margin-bottom: 7px;
  color: #e7e2dc;
}

.matrix-label-line span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.matrix-label-line strong {
  font-family: var(--font-michroma);
  font-size: 0.7rem;
  color: #CEB8A5;
}

.matrix-bar-bg {
  position: relative;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.matrix-bar-gold {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #9C764F 0%, #CEB8A5 65%, #F2E2BA 100%);
}

.matrix-bar-ghost {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  border-right: 2px solid #ffffff;
}

.luxury-pillars {
  border-color: rgba(206, 184, 165, 0.16);
}

.pillar-icon-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

/* --- 5. BLOQUE "SERVICIOS" EN PÁGINA 1 (TRÍO CON FOTOS REALES) --- */
.home-services-showcase {
  background: #050504;
  padding: 96px 0 112px;
  border-top: 1px solid rgba(206, 184, 165, 0.14);
}

.home-services-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Grid de Banners en Panel Admin */
.admin-banners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

@media (max-width: 1020px) {
  .nosotros-premium-grid,
  .home-services-trio {
    grid-template-columns: 1fr;
  }

  .car-overlap-box {
    margin-top: -68px;
  }

  .home-principal-landing {
    margin-top: -40px;
  }

  .promo-floating-badge {
    top: 0;
  }
}

@media (max-width: 680px) {
  .luxury-telemetry-rings {
    grid-template-columns: 1fr;
  }

  .promo-banner-slide {
    grid-template-columns: 1fr;
  }

  .promo-banner-media {
    height: 140px;
  }

  .car-overlap-box {
    margin-top: -36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-marquee-track {
    animation: none;
  }
}
