/*
Theme Name: ARM
Theme URI: https://arm.grupoarezzo.com
Author: Grupo Arezzo
Description: Landing page para ARM - Seguridad industrial, EPP y herramientas
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
Text Domain: arm
*/

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

:root {
  /* Colores oficiales ARM (brand-visual-identity.md) */
  --arm-primary: #D32F2F;
  --arm-primary-light: #E53935;
  --arm-primary-dark: #B42525;
  --arm-dark: #1A1A1A;
  --arm-darker: #0D0D0D;
  --arm-gray: #2A2A2A;
  --arm-light: #F5F5F5;
  --arm-accent: #FF8F00;
  --arm-text: #333333;
  --arm-text-light: #777777;
  --arm-white: #FFFFFF;
  --arm-border: rgba(211,47,47,0.15);
  /* Tipografías oficiales Grupo Arezzo (sustitutos web) */
  --arm-font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --arm-font-body: 'Cabin', 'Helvetica', 'Arial', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--arm-font-body);
  color: var(--arm-text);
  background: var(--arm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .section-title, .hero h1, .section-label { font-family: var(--arm-font-display); letter-spacing: 0.02em; }

a { text-decoration: none; color: inherit; transition: all 0.3s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.section-label {
  display: inline-block;
  font-family: var(--arm-font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--arm-primary);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--arm-font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--arm-dark);
  margin-bottom: 16px;
  line-height: 1.15;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--arm-text-light);
  max-width: 600px;
  line-height: 1.7;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--arm-primary);
  transition: all 0.4s;
}

.site-header.scrolled { padding: 10px 0; box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

.nav-container {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}

.logo-text {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1;
}
.site-logo { height: 68px; width: auto; display: block; }
.site-logo-tagline {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: #9aa5b1;
  text-transform: uppercase;
  font-family: var(--arm-font-body);
  opacity: 0.9;
}

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

.nav-links a {
  font-family: var(--arm-font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--arm-text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links a:hover { color: var(--arm-primary); }

/* DEC-006 — boton Grupo Arezzo solido + CTA principal outline */
.nav-group {
  background: var(--arm-primary) !important;
  color: var(--arm-white) !important;
  padding: 10px 22px !important;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}
.nav-group:hover {
  background: var(--arm-primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(211,47,47,0.3);
}
.nav-cta-outline {
  color: var(--arm-primary-dark) !important;
  border: 1.5px solid var(--arm-primary);
  padding: 9px 20px !important;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: transparent;
  transition: all 0.3s;
}
.nav-cta-outline:hover {
  background: rgba(211,47,47,0.1) !important;
  color: var(--arm-primary-dark) !important;
  border-color: var(--arm-primary-dark);
}

/* DEC-006 6.3 — Indicador de seccion activa: barra roja gruesa (metafora industrial) */
.nav-links a { position: relative; }
.nav-links a[href^="#"].is-active:not(.nav-cta-outline) {
  color: var(--arm-primary) !important;
  font-weight: 600;
}
.nav-links a[href^="#"].is-active:not(.nav-cta-outline)::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--arm-primary);
}
.nav-cta-outline.is-active {
  background: rgba(211,47,47,0.12) !important;
  border-color: var(--arm-primary-dark) !important;
}

.nav-back {
  color: var(--arm-primary) !important;
  border: 1px solid rgba(211,47,47,0.5);
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 0.75rem !important;
}

.nav-back:hover { background: var(--arm-primary); color: var(--arm-white) !important; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--arm-darker);
}

.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,13,13,0.85), rgba(211,47,47,0.4));
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 700px;
  padding: 120px 0 80px;
}

.hero-content .container { padding: 0 24px; }

.hero-badge {
  display: inline-block;
  font-family: var(--arm-font-display);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--arm-primary);
  margin-bottom: 20px;
  padding: 8px 20px;
  border: 1px solid rgba(211,47,47,0.4);
  background: rgba(211,47,47,0.1);
}

.hero h1 {
  font-family: var(--arm-font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--arm-white);
  line-height: 1.05;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.hero h1 em { font-style: normal; color: var(--arm-primary); }

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--arm-primary); color: var(--arm-white);
  padding: 14px 32px; border-radius: 4px;
  font-family: var(--arm-font-display);
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  border: none; cursor: pointer; transition: all 0.3s;
}

.btn-primary:hover { background: var(--arm-primary-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(211,47,47,0.4); }

.btn-outline-hero {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--arm-white); padding: 14px 32px; border-radius: 4px;
  font-family: var(--arm-font-display);
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer; transition: all 0.3s; margin-left: 12px;
}

.btn-outline-hero:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

/* RED STRIPE DIVIDER */
.stripe-divider {
  height: 4px;
  background: linear-gradient(90deg, var(--arm-primary), var(--arm-accent), var(--arm-primary));
}

/* SERVICES */
.services { padding: 80px 0; background: var(--arm-light); }
.services .section-header { text-align: center; margin-bottom: 56px; }
.services .section-subtitle { margin: 0 auto; }

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

.service-card {
  background: var(--arm-white);
  padding: 36px 28px;
  border-radius: 4px;
  border-left: 4px solid var(--arm-primary);
  transition: all 0.4s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }

.service-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--arm-dark); color: var(--arm-primary);
  border-radius: 4px; margin-bottom: 20px;
}

.service-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.service-card h3 {
  font-family: var(--arm-font-display);
  font-size: 1.15rem; font-weight: 700;
  color: var(--arm-dark); margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: 1px;
}

.service-card p { font-size: 0.9rem; color: var(--arm-text-light); line-height: 1.6; }

/* PROCESS */
.process { padding: 80px 0; background: var(--arm-white); }
.process .section-header { text-align: center; margin-bottom: 56px; }
.process .section-subtitle { margin: 0 auto; }

.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; position: relative;
}

.process-steps::before {
  content: ''; position: absolute;
  top: 36px; left: 12%; right: 12%;
  height: 2px; background: var(--arm-border);
}

.process-step { text-align: center; position: relative; }

.step-number {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--arm-dark); color: var(--arm-primary);
  font-family: var(--arm-font-display);
  font-size: 1.5rem; font-weight: 700;
  position: relative; z-index: 1;
  border: 3px solid var(--arm-white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.process-step h3 {
  font-family: var(--arm-font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--arm-dark); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 1px;
}

.process-step p { font-size: 0.85rem; color: var(--arm-text-light); line-height: 1.6; max-width: 220px; margin: 0 auto; }

/* WHY US */
.why-us { padding: 80px 0; background: var(--arm-darker); color: var(--arm-white); }
.why-us .section-label { color: var(--arm-accent); }
.why-us .section-title { color: var(--arm-white); }
.why-us .section-subtitle { color: rgba(255,255,255,0.6); }
.why-us .section-header { text-align: center; margin-bottom: 56px; }
.why-us .section-subtitle { margin: 0 auto; }

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

.benefit-card {
  text-align: center; padding: 32px 24px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  border-radius: 4px; transition: all 0.3s;
}

.benefit-card:hover { background: rgba(255,255,255,0.06); transform: translateY(-4px); }

.benefit-icon { font-size: 2rem; margin-bottom: 16px; }

.benefit-card h3 {
  font-family: var(--arm-font-display);
  font-size: 1.05rem; font-weight: 700; margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: 1px;
}

.benefit-card p { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* CONTACT */
.contact { padding: 80px 0; background: var(--arm-light); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.contact-info h2 {
  font-family: var(--arm-font-display);
  font-size: 2rem; color: var(--arm-dark); margin-bottom: 16px;
  text-transform: uppercase;
}

.contact-info p { color: var(--arm-text-light); margin-bottom: 32px; line-height: 1.7; }

.contact-detail { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }

.contact-detail-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--arm-dark); color: var(--arm-primary);
  border-radius: 4px; flex-shrink: 0;
}

.contact-detail-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.contact-detail span { font-size: 0.95rem; color: var(--arm-text); }

.contact-form {
  background: var(--arm-white); padding: 40px; border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--arm-dark); margin-bottom: 6px; letter-spacing: 1px; text-transform: uppercase; font-family: var(--arm-font-display); }

.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.1); border-radius: 4px;
  font-family: var(--arm-font-body); font-size: 0.9rem;
  color: var(--arm-text); background: var(--arm-light);
  transition: border-color 0.3s; outline: none;
}

.form-group input:focus, .form-group textarea:focus { border-color: var(--arm-primary); box-shadow: 0 0 0 3px rgba(211,47,47,0.08); }
.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  width: 100%; padding: 14px;
  background: var(--arm-primary); color: var(--arm-white); border: none;
  font-family: var(--arm-font-display); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s; border-radius: 4px;
}

.btn-submit:hover { background: var(--arm-primary-light); transform: translateY(-2px); }

.form-success { display: none; text-align: center; padding: 40px 20px; color: var(--arm-primary); font-weight: 600; }

/* FOOTER */
.site-footer { padding: 48px 0; background: var(--arm-darker); color: rgba(255,255,255,0.6); text-align: center; }
.footer-brands { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.footer-brands a { font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.footer-brands a:hover { color: var(--arm-primary); }
.footer-divider { width: 60px; height: 2px; background: var(--arm-primary); margin: 0 auto 24px; }
.site-footer p { font-size: 0.8rem; }
.footer-parent { display: inline-block; margin-top: 12px; font-size: 0.8rem; color: var(--arm-primary); }
.footer-parent:hover { color: var(--arm-white); }
.footer-group { color: var(--arm-primary) !important; font-weight: 600; transition: color 0.3s; }
.footer-group:hover { color: var(--arm-primary-light) !important; }

/* WHATSAPP */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,0.4); z-index: 999; transition: transform 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ANIMATIONS */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.1s; } .stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; } .stagger-4 { transition-delay: 0.4s; }

/* ============================================
   REDISEÑO v2 — Stories 2.2 a 2.7
   Segmentación triple + Buscador oficio + Catálogo
   ============================================ */

/* CHIPS + DRAWER INVENTARIO (DEC-003 v2 §3.2) */
.arm-segment { padding: 80px 0; background: var(--arm-white); }
.arm-segment .section-header { text-align: center; margin-bottom: 40px; }
.arm-segment .section-subtitle { margin: 0 auto; }

/* Row de chips tipo etiqueta industrial */
.arm-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

.arm-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--arm-white);
  border: 2px solid var(--arm-dark);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 0 var(--arm-dark);
  outline: none;
}
.arm-chip:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--arm-dark);
  background: var(--arm-light);
}
.arm-chip:focus-visible {
  outline: 3px solid var(--arm-accent);
  outline-offset: 3px;
}
.arm-chip.active {
  background: var(--arm-primary);
  border-color: var(--arm-primary-dark);
  color: var(--arm-white);
  box-shadow: 4px 4px 0 var(--arm-primary-dark);
}

.arm-chip-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--arm-light);
  border: 2px solid var(--arm-dark);
  border-radius: 4px;
  color: var(--arm-dark);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.arm-chip-icon svg { width: 24px; height: 24px; }
.arm-chip.active .arm-chip-icon {
  background: var(--arm-darker);
  border-color: var(--arm-white);
  color: var(--arm-white);
}

.arm-chip-content { flex: 1; min-width: 0; }

.arm-chip-title {
  font-family: var(--arm-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--arm-dark);
  margin: 0 0 2px;
  line-height: 1.1;
  text-transform: uppercase;
  transition: color 0.2s;
}
.arm-chip.active .arm-chip-title { color: var(--arm-white); }

.arm-chip-count {
  display: block;
  font-size: 0.78rem;
  color: var(--arm-text-light);
  font-weight: 500;
  transition: color 0.2s;
}
.arm-chip.active .arm-chip-count { color: rgba(255,255,255,0.9); }

/* Drawer: shell único con altura animada + paneles superpuestos */
.arm-drawer {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  height: 0;
  margin-top: 0;
  overflow: hidden;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.arm-drawer.open {
  margin-top: 20px;
  /* height seteada por JS al valor del panel activo */
}
.arm-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  background: var(--arm-darker);
  border: 2px solid var(--arm-primary-dark);
  border-radius: 6px;
  color: var(--arm-white);
  padding: 32px 28px 28px;
  box-shadow: 6px 6px 0 var(--arm-dark);
  /* Al desactivarse: fade-out rápido sin delay */
  transition: opacity 0.3s cubic-bezier(0.4, 0, 1, 1);
}
.arm-drawer-panel.active {
  opacity: 1;
  pointer-events: auto;
  /* Al activarse: fade-in con delay para que el saliente se vaya primero (crossfade desfasado sin flash) */
  transition: opacity 0.45s cubic-bezier(0, 0, 0.2, 1) 0.15s;
}
/* "Estrías" decorativas del cajón abierto */
.arm-drawer-panel::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--arm-primary), var(--arm-primary) 8px, transparent 8px, transparent 14px);
  opacity: 0.7;
}

.arm-drawer-header { margin-bottom: 22px; text-align: left; }
.arm-drawer-tag {
  display: inline-block;
  font-family: var(--arm-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--arm-accent);
  padding: 4px 10px;
  border: 1px solid var(--arm-accent);
  border-radius: 3px;
  margin-bottom: 12px;
}
.arm-drawer-header h4 {
  font-family: var(--arm-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--arm-white);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.15;
}
.arm-drawer-header p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  margin: 0;
  max-width: 720px;
}

/* Grid de pictogramas (6 productos típicos) */
.arm-drawer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 26px;
}
.arm-drawer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 8px;
  background: var(--arm-gray);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  min-height: 120px;
}
.arm-drawer-item:hover {
  border-color: var(--arm-primary);
  background: rgba(211,47,47,0.18);
  transform: translateY(-2px);
}
.arm-drawer-item svg {
  width: 32px;
  height: 32px;
  color: var(--arm-accent);
  flex-shrink: 0;
}
.arm-drawer-item span {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-align: center;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.arm-drawer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--arm-accent);
  color: var(--arm-dark) !important;
  border-radius: 4px;
  font-family: var(--arm-font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--arm-accent);
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 3px 3px 0 var(--arm-dark);
}
.arm-drawer-cta:hover {
  background: var(--arm-white);
  color: var(--arm-dark) !important;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--arm-dark);
}

/* Responsive */
@media (max-width: 900px) {
  .arm-chips { grid-template-columns: 1fr; }
  .arm-chip { padding: 16px 20px; }
  .arm-drawer-grid { grid-template-columns: repeat(3, 1fr); }
  .arm-drawer-header h4 { font-size: 1.25rem; }
}
@media (max-width: 520px) {
  .arm-drawer-grid { grid-template-columns: repeat(2, 1fr); }
  .arm-chip-title { font-size: 1.1rem; }
}

/* Filtrado declarativo por segmento */
body.arm-segment-empresa [data-segment="negocio"],
body.arm-segment-empresa [data-segment="persona"],
body.arm-segment-negocio [data-segment="empresa"],
body.arm-segment-negocio [data-segment="persona"],
body.arm-segment-persona [data-segment="empresa"],
body.arm-segment-persona [data-segment="negocio"] { display: none; }

/* BUSCADOR POR OFICIO (Story 2.3) */
.arm-buscador { padding: 80px 0; background: var(--arm-light); }
.arm-buscador .section-header { text-align: center; margin-bottom: 40px; }
.arm-buscador .section-subtitle { margin: 0 auto; }
.oficios-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  max-width: 1080px; margin: 0 auto;
}
.oficio-card {
  background: var(--arm-white); border: 1px solid var(--arm-border); border-radius: 12px;
  padding: 24px 16px; cursor: pointer; font-family: inherit; text-align: center;
  transition: all 0.3s; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.oficio-card:hover { border-color: var(--arm-primary); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(211,47,47,0.08); }
.oficio-card.active { background: var(--arm-primary); color: var(--arm-white); border-color: var(--arm-primary); }
.oficio-icon { font-size: 2rem; line-height: 1; }
.oficio-label { font-size: 0.85rem; font-weight: 600; color: var(--arm-dark); }
.oficio-card.active .oficio-label { color: var(--arm-white); }

.oficio-result {
  max-width: 900px; margin: 40px auto 0;
  background: var(--arm-white); border-radius: 16px; padding: 32px;
  border: 1px solid var(--arm-border); box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.oficio-result-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.oficio-result-header h3 { font-size: 1.2rem; font-weight: 700; color: var(--arm-dark); }
.oficio-result-header #oficioNombre { color: var(--arm-primary); }
.oficio-clear { background: transparent; border: 1px solid var(--arm-border); padding: 8px 16px; border-radius: 50px; cursor: pointer; font-family: inherit; font-size: 0.8rem; color: var(--arm-text-light); }
.oficio-clear:hover { border-color: var(--arm-primary); color: var(--arm-primary); }
.oficio-productos { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px; margin: 0 0 24px; }
.oficio-productos li { padding: 10px 14px; background: var(--arm-light); border-radius: 8px; font-size: 0.9rem; color: var(--arm-text); display: flex; align-items: center; gap: 10px; }
.oficio-productos li::before { content: '✓'; color: var(--arm-primary); font-weight: 700; }
.oficio-actions { border-top: 1px solid var(--arm-border); padding-top: 20px; text-align: center; }
.oficio-note { margin-top: 12px; font-size: 0.8rem; color: var(--arm-text-light); }

/* CATÁLOGO (Story 2.4) */
.arm-catalogo { padding: 80px 0; background: var(--arm-white); }
.arm-catalogo .section-header { text-align: center; margin-bottom: 32px; }
.arm-catalogo .section-subtitle { margin: 0 auto; }
.catalogo-filtros { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.cat-filter {
  padding: 10px 24px; background: var(--arm-light); border: 1px solid var(--arm-border);
  border-radius: 50px; font-family: inherit; font-size: 0.85rem; font-weight: 600;
  color: var(--arm-text); cursor: pointer; transition: all 0.3s;
}
.cat-filter:hover { border-color: var(--arm-primary); color: var(--arm-primary); }
.cat-filter.active { background: var(--arm-primary); color: var(--arm-white); border-color: var(--arm-primary); }
.catalogo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  background: var(--arm-white); padding: 24px 20px; border-radius: 14px;
  border: 1px solid var(--arm-border); text-align: center; transition: all 0.3s;
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--arm-primary); box-shadow: 0 12px 30px rgba(211,47,47,0.08); }
.cat-card.hidden { display: none; }
.cat-icon { font-size: 2.2rem; margin-bottom: 12px; }
.cat-card h3 { font-size: 1rem; font-weight: 700; color: var(--arm-dark); margin-bottom: 8px; }
.cat-card p { font-size: 0.85rem; color: var(--arm-text-light); line-height: 1.5; }
.cat-note { text-align: center; font-size: 0.9rem; color: var(--arm-text-light); margin-top: 32px; }

/* POR QUÉ ARM (Story 2.5) */
.arm-por-que { padding: 80px 0; background: var(--arm-dark); color: var(--arm-white); }
.arm-por-que .section-label { color: var(--arm-accent); }
.arm-por-que .section-title { color: var(--arm-white); }
.arm-por-que .section-subtitle { color: rgba(255,255,255,0.6); margin: 0 auto; }
.arm-por-que .section-header { text-align: center; margin-bottom: 48px; }
.por-que-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.por-que-card {
  background: rgba(255,255,255,0.04); padding: 28px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08); text-align: center; transition: all 0.3s;
}
.por-que-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.por-que-icon { font-size: 2.2rem; margin-bottom: 14px; }
.por-que-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--arm-white); }
.por-que-card p { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* OFICIOS Y CASOS (Story 2.6) */
.arm-oficios-casos { padding: 80px 0; background: var(--arm-light); }
.arm-oficios-casos .section-header { text-align: center; margin-bottom: 48px; }
.arm-oficios-casos .section-subtitle { margin: 0 auto; }
.casos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.caso-card {
  background: var(--arm-white); padding: 26px; border-radius: 14px;
  border: 1px solid var(--arm-border); transition: all 0.3s;
}
.caso-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(211,47,47,0.08); }
.caso-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--arm-primary); margin-bottom: 12px;
  padding: 4px 12px; border-radius: 50px; background: rgba(211,47,47,0.08);
}
.caso-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--arm-dark); margin-bottom: 10px; line-height: 1.4; }
.caso-card p { font-size: 0.9rem; color: var(--arm-text-light); line-height: 1.6; }

/* FORM enhancement (Story 2.7) */
.form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--arm-border);
  border-radius: 10px; font-family: inherit; font-size: 0.9rem; color: var(--arm-text);
  background: var(--arm-light); outline: none; transition: border-color 0.3s;
}
.form-group select:focus { border-color: var(--arm-primary); box-shadow: 0 0 0 3px rgba(211,47,47,0.08); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .segment-grid { grid-template-columns: 1fr; }
  .oficios-grid { grid-template-columns: repeat(3, 1fr); }
  .catalogo-grid { grid-template-columns: repeat(3, 1fr); }
  .por-que-grid, .casos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .hero-content { padding: 100px 0 60px; }
  .services-grid, .benefits-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .oficios-grid { grid-template-columns: repeat(2, 1fr); }
  .catalogo-grid { grid-template-columns: repeat(2, 1fr); }
  .por-que-grid, .casos-grid { grid-template-columns: 1fr; }
  .oficio-productos { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .process-steps { grid-template-columns: 1fr; }
  .btn-outline-hero { margin-left: 0; margin-top: 10px; }
  .oficios-grid { grid-template-columns: 1fr; }
  .catalogo-grid { grid-template-columns: 1fr; }
}
