/* =====================================================================
   Moto Partes MyE · Sistema de diseño "Taller"
   Paleta industrial sin degradados — grafito, acero, ámbar de seguridad
   y óxido, pensada para una repuestería multimarca (Honda/Yamaha/Suzuki)
   con taller propio. Tipografía: Big Shoulders Display + Inter.
===================================================================== */

:root {
  /* ---------- Superficies ---------- */
  --ink: #171b1f;            /* grafito — header, footer, franjas oscuras */
  --ink-soft: #262b31;       /* grafito claro — paneles sobre ink */
  --ink-line: #3a4048;       /* líneas sobre fondo oscuro */
  --steel: #55636f;          /* acero — texto secundario */
  --steel-soft: #8992a0;     /* acero claro — iconografía muted */
  --line: #dce1e4;           /* líneas sobre fondo claro */
  --paper: #f0f2f3;          /* concreto claro — fondo de sección */
  --paper-deep: #e7eaec;     /* concreto un poco más oscuro — paneles */
  --white: #ffffff;

  /* ---------- Acentos (sin degradados) ---------- */
  --amber: #f2a900;          /* ámbar de seguridad — acento principal */
  --amber-deep: #c98600;
  --ember: #c93a2e;          /* óxido / rojo de freno — urgencia, CTA */
  --ember-deep: #a32e24;
  --wa: #25d366;             /* verde WhatsApp (se respeta el color de marca) */
  --wa-deep: #1da851;

  /* ---------- Alias de compatibilidad (usados inline en otras páginas) --- */
  --primary: var(--ink);
  --primary-hover: var(--ink-soft);
  --accent: var(--ember);
  --accent-hover: var(--ember-deep);
  --light: var(--paper);
  --gold: var(--amber);

  --text-main: #171b1f;
  --text-muted: #55636f;

  --radius-sm: 3px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-subtle: 0 1px 2px rgba(23, 27, 31, 0.05), 0 6px 16px -12px rgba(23, 27, 31, 0.18);
  --shadow-card: 0 2px 4px rgba(23, 27, 31, 0.06), 0 14px 28px -16px rgba(23, 27, 31, 0.24);

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============ Reset & base ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-muted);
  background: var(--white);
  font-size: 15.5px;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: 0.2px;
}
h1 { font-weight: 800; }

a { text-decoration: none; color: inherit; transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
p { max-width: 62ch; }

.container-lg { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============ Utilidades ============ */
.section { padding: 84px 0; position: relative; }
.section.light { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.white { background: var(--white); }

.text-center { text-align: center; }
.d-flex { display: flex; }
.gap-10 { gap: 10px; }
.gap-16 { gap: 16px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.mt-10{margin-top:10px;} .mt-20{margin-top:20px;} .mt-30{margin-top:30px;} .mt-50{margin-top:50px;}
.mb-10{margin-bottom:10px;} .mb-20{margin-bottom:20px;} .mb-30{margin-bottom:30px;}
.mr-2{margin-right:8px;}

/* Acento de texto sólido (sin degradado) — reemplaza el antiguo "text-gradient" */
.text-gradient { color: var(--ember); }

/* ============ Botones ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body);
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  text-align: center;
}
.btn:hover { background: var(--ink-soft); border-color: var(--ink-soft); transform: translateY(-1px); color: #fff; }
.btn:active { transform: translateY(0); }

.btn-alt { background: var(--ember); border-color: var(--ember); }
.btn-alt:hover { background: var(--ember-deep); border-color: var(--ember-deep); }

.btn-outline { background: transparent; color: var(--text-main); border-color: var(--line); }
.btn-outline:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }

.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }

.btn-wa { background: var(--wa); border-color: var(--wa); }
.btn-wa:hover { background: var(--wa-deep); border-color: var(--wa-deep); }

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-icon { padding: 10px 14px; }

/* ============ Topbar & navegación ============ */
.topbar { background: var(--ink); color: #dfe3e6; font-size: 13px; border-bottom: 1px solid var(--ink-line); }
.topbar .container-lg { display: flex; align-items: center; justify-content: space-between; min-height: 40px; flex-wrap: wrap; gap: 6px 0; }
.topbar-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; color: #dfe3e6; }
.topbar-item i { color: var(--amber); font-size: 12px; }
.topbar-item:hover { color: var(--amber); }

.navbar-area {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.navbar-area.is-sticky { box-shadow: var(--shadow-subtle); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--ink); border: 1px solid var(--ink);
  padding: 5px; display: flex; align-items: center; justify-content: center;
}
.brand-logo img { filter: brightness(0) invert(1); }
.brand-text strong { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--text-main); display: block; line-height: 1; }
.brand-text span { font-size: 11px; color: var(--ember); font-weight: 700; letter-spacing: 0.4px; }

.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu .nav-link {
  padding: 9px 16px; font-size: 14.5px; font-weight: 600; color: var(--text-main);
  border-radius: var(--radius-sm); border-bottom: 2px solid transparent;
}
.nav-menu .nav-link:hover { color: var(--ink); background: var(--paper); }
.nav-menu .nav-link.is-active { color: var(--ink); border-bottom: 2px solid var(--amber); }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; cursor: pointer;
}
.hamburger span { display: block; height: 2px; width: 20px; margin: 0 auto; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  display: none; flex-direction: column; background: #fff; border-top: 1px solid var(--line);
  max-height: 0; overflow: hidden; transition: max-height .25s ease;
}
.mobile-panel.open { max-height: 400px; }
.mobile-panel a { padding: 14px 20px; font-weight: 600; color: var(--text-main); border-bottom: 1px solid var(--line); }
.mobile-panel a:hover { background: var(--paper); color: var(--ink); }

/* ============ Cabecera de página interior (breadcrumbs) ============ */
.page-hero { background: var(--ink); padding: 64px 0 46px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px;
  border: 2px solid var(--ink-line); border-radius: 50%;
}
.page-hero h1 { color: #fff; font-size: 34px; margin-bottom: 10px; position: relative; z-index: 1; }
.page-hero p { color: #b7bec4; max-width: 640px; margin-bottom: 22px; position: relative; z-index: 1; }
.breadcrumb-nav { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #8b939a; position: relative; z-index: 1; }
.breadcrumb-nav a { color: #d7dbde; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb-nav a:hover { color: var(--amber); }
.breadcrumb-nav i { font-size: 10px; }
.breadcrumb-nav span { color: var(--amber); font-weight: 600; }

/* ============ Título de sección / etiqueta ============ */
.section-title { text-align: center; margin-bottom: 52px; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-title.left { text-align: left; margin-left: 0; margin-right: 0; max-width: none; }
.section-title h2 { font-size: 32px; margin-bottom: 10px; }
.section-title p { max-width: 520px; margin: 0 auto; font-size: 15px; }
.section-title.left p { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--ink);
  padding: 0 0 0 10px; margin-bottom: 14px;
  border-left: 3px solid var(--amber);
  line-height: 1.3;
}
.eyebrow.orange { border-left-color: var(--ember); }
.eyebrow.gold { border-left-color: var(--amber); }

/* ============ Grids ============ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

/* ============ Hero de inicio ============ */
.hero-area { padding: 76px 0 0; background: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-bottom: 60px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--paper); border: 1px solid var(--line); color: var(--text-main);
  font-size: 13px; font-weight: 600; padding: 7px 16px 7px 12px; border-radius: 999px; margin-bottom: 22px;
}
.pulse-dot { width: 8px; height: 8px; background: var(--ember); border-radius: 50%; position: relative; }
.pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border: 1px solid var(--ember); border-radius: 50%; opacity: .5;
}

.hero-content h1 { font-size: 46px; color: var(--text-main); margin-bottom: 20px; max-width: 15ch; }
.hero-content > p { font-size: 16.5px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-trust { display: flex; gap: 0; border-top: 1px solid var(--line); padding-top: 22px; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--text-main);
  padding-right: 26px; margin-right: 26px; border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.trust-item i { color: var(--ember); font-size: 15px; }

/* Marco técnico de imagen (sin sombra genérica de tarjeta) */
.hero-media { position: relative; padding: 14px; }
.image-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--paper); padding: 0;
}
.image-wrap img { width: 100%; height: 430px; object-fit: cover; display: block; }
.hero-media::before {
  content: ""; position: absolute; top: 0; left: 0; width: 34px; height: 34px;
  border-top: 3px solid var(--amber); border-left: 3px solid var(--amber);
}
.hero-media::after {
  content: ""; position: absolute; bottom: 0; right: 0; width: 34px; height: 34px;
  border-bottom: 3px solid var(--amber); border-right: 3px solid var(--amber);
}

/* Tarjeta flotante (usada en hero, producto, contacto) */
.float-card {
  position: absolute; bottom: 26px; right: 10px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 16px; box-shadow: var(--shadow-card); max-width: 240px;
}
.float-card strong { display: block; font-size: 13.5px; color: var(--text-main); font-family: var(--font-body); }
.float-card small { font-size: 12px; color: var(--steel); }
.fc-icon { width: 34px; height: 34px; min-width: 34px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; }
.fc-card-2 { right: auto; }

.image-shape { position: absolute; top: 20px; left: -18px; width: 100%; height: 100%; border-radius: var(--radius); z-index: 0; }

/* ============ Marcas destacadas (Honda / Yamaha / Suzuki) ============ */
.brand-spotlight { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
.brand-plate {
  background: var(--ink); border: 1px solid var(--ink-line); border-radius: var(--radius);
  padding: 30px 20px; text-align: center; position: relative; overflow: hidden;
}
.brand-plate::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--amber); }
.brand-plate span.brand-name { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: #fff; letter-spacing: 0.5px; display: block; }
.brand-plate span.brand-tag { font-size: 12.5px; color: #9aa2a9; margin-top: 6px; display: block; }

.brand-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 18px 22px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius-sm); font-size: 14px; color: var(--steel); }
.brand-strip strong { color: var(--text-main); }
.brand-chip {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 8px 16px; font-family: var(--font-body); font-weight: 700; color: var(--text-main);
  font-size: 13.5px; display: inline-flex; align-items: center; gap: 8px;
}
.brand-chip i { color: var(--ember); }

/* ============ Categorías (cajones de repuestos) ============ */
.cat-card {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--ink);
  border-radius: var(--radius-sm); padding: 26px 16px 22px; text-align: center;
  transition: border-color .18s ease, transform .18s ease; display: block;
}
.cat-card:hover { border-top-color: var(--amber); transform: translateY(-3px); }
.cat-icon {
  width: 62px; height: 62px; margin: 0 auto 16px; border-radius: var(--radius-sm);
  background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--ink);
}
.cat-icon img { width: 32px; height: 32px; object-fit: contain; }
.cat-card h3 { font-size: 16px; margin-bottom: 4px; font-family: var(--font-body); font-weight: 700; }
.cat-count { font-size: 12px; color: var(--steel); display: block; margin-bottom: 12px; }
.cat-arrow { font-size: 12.5px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 5px; }
.cat-card:hover .cat-arrow { color: var(--ember); }

/* ============ Franja de especificaciones (estadísticas) ============ */
.stats-band { background: var(--ink); padding: 0; }
.stats-band .grid-4 { gap: 0; }
.stat-item {
  text-align: left; padding: 34px 26px; border-right: 1px solid var(--ink-line);
  display: flex; flex-direction: column; gap: 10px;
}
.stat-item:last-child { border-right: none; }
.stat-item .stat-icon { font-size: 18px; color: var(--amber); }
.stat-item .stat-number { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: #fff; line-height: 1; }
.stat-item .stat-label { font-size: 13px; color: #9aa2a9; font-weight: 500; }

/* ============ Tarjetas de producto ============ */
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; transition: border-color .18s ease, transform .18s ease;
  display: flex; flex-direction: column; box-shadow: var(--shadow-subtle);
}
.product-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.product-thumb { position: relative; height: 190px; background: var(--paper); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-fallback { font-size: 46px; color: #c3cad0; }

.badge { position: absolute; top: 10px; left: 10px; font-size: 10.5px; font-weight: 700; padding: 5px 11px; border-radius: 3px; color: #fff; letter-spacing: 0.2px; }
.badge-cat { background: var(--ink); }
.badge-stock-out { top: auto; left: auto; bottom: 10px; right: 10px; background: var(--ember); }
.badge-stock-low { top: auto; left: auto; bottom: 10px; right: 10px; background: var(--amber); color: var(--ink); }

.product-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-brand { font-size: 11px; font-weight: 800; color: var(--ember); letter-spacing: 0.3px; margin-bottom: 5px; }
.product-body h3 { font-size: 15px; margin-bottom: 8px; min-height: 40px; font-family: var(--font-body); font-weight: 700; }
.product-body h3 a { color: var(--text-main); }
.product-body h3 a:hover { color: var(--ink); text-decoration: underline; }
.product-desc { font-size: 13px; color: var(--steel); margin-bottom: 14px; flex: 1; }
.product-actions { display: flex; gap: 8px; }
.product-actions .btn { flex: 1; }

/* ============ Franja de taller (servicio) ============ */
.workshop-band { background: var(--ink); position: relative; overflow: hidden; }
.workshop-band .container-lg { position: relative; z-index: 1; }
.workshop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.workshop-band .eyebrow { color: #fff; border-left-color: var(--amber); }
.workshop-band h2 { color: #fff; font-size: 30px; margin-bottom: 14px; }
.workshop-grid > div > p { color: #b7bec4; margin-bottom: 26px; }
.workshop-list { display: grid; gap: 14px; margin-bottom: 30px; }
.workshop-list li { display: flex; align-items: flex-start; gap: 12px; color: #d7dbde; font-size: 14.5px; }
.workshop-list li i { color: var(--amber); margin-top: 3px; }
.workshop-panel { background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 30px; }
.workshop-panel h3 { color: #fff; font-size: 18px; margin-bottom: 16px; }
.workshop-steps { display: grid; gap: 16px; }
.workshop-steps li { display: flex; gap: 14px; align-items: flex-start; }
.workshop-steps .ws-num { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--amber); min-width: 30px; }
.workshop-steps strong { display: block; color: #fff; font-size: 14.5px; }
.workshop-steps span { color: #9aa2a9; font-size: 13px; }

/* ============ Servicios (taller.php) ============ */
.single-service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .18s ease, border-color .18s ease;
}
.single-service:hover { transform: translateY(-3px); border-color: var(--ink); }
.service-icon {
  width: 54px; height: 54px; border-radius: var(--radius-sm); background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px;
}
.service-icon.accent, .service-icon.rose { background: var(--ember); }
.service-icon.gold, .service-icon.teal { background: var(--amber); color: var(--ink); }
.service-icon.violet { background: var(--ink); color: var(--amber); }
.single-service h3 { font-size: 18px; margin-bottom: 10px; }
.single-service > p { font-size: 14px; margin-bottom: 16px; }
.service-list { display: grid; gap: 8px; margin-bottom: 18px; }
.service-list li { font-size: 13.5px; color: var(--steel); display: flex; align-items: center; gap: 8px; }
.service-list i { color: var(--ember); font-size: 12px; }
.service-link { font-size: 14px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.service-link:hover { color: var(--ember); gap: 12px; }

/* ============ Proceso (pasos numerados) ============ */
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; position: relative; }
.step-num {
  width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800;
  font-size: 18px; color: var(--ink); margin-bottom: 16px;
}
.step-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.step-card p { font-size: 13.5px; }

/* ============ FAQ ============ */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; padding: 18px 20px;
  font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--text-main);
  display: flex; align-items: center; justify-content: space-between; cursor: pointer;
}
.faq-toggle { color: var(--steel); transition: transform .2s ease; }
.faq-item.open .faq-toggle { transform: rotate(180deg); color: var(--ember); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-answer p { padding: 0 20px 18px; font-size: 14px; color: var(--steel); }

/* ============ Llamado a la acción ============ */
.call-action { background: var(--ember); padding: 54px 0; }
.call-action .inner-content h2 { color: #fff; font-size: 26px; }
.call-action .inner-content p { color: #ffe3df; }

/* ============ Tarjetas de referencia (ubicación / producto) ============ */
.ref-card { display: flex; align-items: flex-start; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.ref-icon { width: 46px; height: 46px; min-width: 46px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--ink); }
.ref-card h3 { font-size: 16px; margin-bottom: 4px; }
.ref-card p { font-size: 14px; }

.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-subtle); min-height: 420px; height: 100%; }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ============ Contacto: tarjetas de info + formulario ============ */
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 24px; }
.info-icon { width: 56px; height: 56px; border-radius: var(--radius-sm); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.info-card h3 { font-size: 18px; margin-bottom: 4px; }
.info-main { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--text-main); margin-bottom: 16px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--text-main); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14px; color: var(--text-main); background: var(--paper);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; background: #fff; }
.alert-box { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 14px; }
.alert-box.error { background: #fbeceb; color: var(--ember-deep); border: 1px solid #f2c6c2; }

.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--steel); }
.footer-contact i { color: var(--ember); margin-top: 3px; }

/* ============ Catálogo: filtros, paginación, vacío ============ */
.filter-bar { background: #fff; border-bottom: 1px solid var(--line); padding: 18px 0; position: sticky; top: 76px; z-index: 40; }
.filter-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.search-box { flex: 1; min-width: 220px; display: flex; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.search-box input { flex: 1; border: 0; padding: 11px 16px; font-family: var(--font-body); font-size: 14px; }
.search-box input:focus { outline: none; }
.search-box button { border: 0; background: var(--ink); color: #fff; padding: 0 18px; cursor: pointer; }
.search-box button:hover { background: var(--ember); }
.select-wrap select { padding: 11px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14px; background: #fff; color: var(--text-main); min-width: 220px; }

.pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; list-style: none; }
.pag-btn { display: flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; color: var(--text-main); font-weight: 600; font-size: 14px; }
.pag-btn:hover { border-color: var(--ink); }
.pag-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pag-dots { display: flex; align-items: center; color: var(--steel); padding: 0 4px; }

.empty-state { text-align: center; padding: 70px 20px; }
.empty-state i { font-size: 46px; color: var(--steel-soft); margin-bottom: 18px; }
.empty-state h3 { font-size: 20px; margin-bottom: 8px; }
.empty-state p { margin: 0 auto 22px; }

/* ============ 404 ============ */
.error-area { min-height: 70vh; display: flex; align-items: center; background: var(--ink); position: relative; overflow: hidden; padding: 60px 0; }
.err-circle { position: absolute; border: 2px solid var(--ink-line); border-radius: 50%; }
.err-1 { width: 320px; height: 320px; top: -100px; left: -80px; }
.err-2 { width: 220px; height: 220px; bottom: -80px; right: -40px; border-color: var(--amber); opacity: .4; }
.error-code { font-family: var(--font-display); font-size: 110px; font-weight: 800; color: var(--amber); line-height: 1; margin-bottom: 6px; }
.error-area h1 { color: #fff; }
.error-area p { color: #b7bec4; margin-left: auto; margin-right: auto; }

/* ============ Botón volver arriba ============ */
.scroll-top {
  position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s ease; z-index: 90; border: none; cursor: pointer;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--ember); }

/* ============ Footer ============ */
.footer { background: var(--ink); border-top: 4px solid var(--amber); padding: 60px 0 0; color: #9aa2a9; }
.footer .brand-logo { background: var(--ink-soft); border-color: var(--ink-line); }
.footer .brand-text strong { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid var(--ink-line); }
.single-footer h3 { font-size: 15px; margin-bottom: 20px; color: #fff; font-family: var(--font-body); font-weight: 700; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: #9aa2a9; }
.footer-links a:hover { color: var(--amber); }
.footer-links i { color: var(--amber); margin-right: 6px; width: 14px; text-align: center; }
.footer-bottom { padding: 20px 0; font-size: 13px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; color: #6b7379; }

/* ============ Revelado al hacer scroll (sutil) ============ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ Responsive ============ */
@media (max-width: 991px) {
  .hero-grid, .workshop-grid { grid-template-columns: 1fr; }
  .grid-4, .grid-5, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid var(--ink-line); }
  .topbar-right { display: none; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .mobile-panel { display: flex; }
  .filter-bar { position: static; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-5, .footer-grid, .brand-spotlight { grid-template-columns: 1fr; }
  .stats-band .grid-4 { grid-template-columns: 1fr; }
  .stat-item { border-right: none; }
  .hero-content h1 { font-size: 32px; max-width: none; }
  .section { padding: 60px 0; }
  .error-code { font-size: 76px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
