/* ==========================================================================
   ARANDU TECNOLOGÍA Y SERVICIOS — HOJA DE ESTILOS PRINCIPAL
   Identidad cromática oficial extraída del isotipo y logotipo de ARANDU:
   - Naranja insignia: #EF8813
   - Grafito / Carbón tecnológico: #1E1F1F
   ========================================================================== */

/* Normalización y Reset */
h1, h2, h3, h4, h5, h6 { font-weight: inherit; margin: 0; }
button, input, select, textarea { font: inherit; }

:root {
  /* Paleta Oficial ARANDU */
  --brand-orange: #ef8813;
  --brand-orange-hover: #df7a0c;
  --brand-orange-active: #cb6a03;
  --brand-orange-light: #fff8f0;
  --brand-orange-tint: rgba(239, 136, 19, 0.08);
  --brand-orange-border: rgba(239, 136, 19, 0.28);
  --brand-orange-glow: rgba(239, 136, 19, 0.35);

  /* Tonos Oscuros del Logo */
  --brand-dark: #1e1f1f;
  --brand-dark-surface: #252727;
  --brand-dark-card: #2c2e2e;
  --brand-dark-border: rgba(255, 255, 255, 0.08);
  --brand-black: #141515;

  /* Colores de Interfaz y Tipografía */
  --ink: #17191a;
  --ink-soft: #555c63;
  --ink-muted: #889097;
  --paper: #ffffff;
  --surface: #f7f8fa;
  --surface-alt: #eff1f4;
  --line: #e3e6e9;
  --line-light: #edf0f3;

  /* Funcionales */
  --success: #16a34a;
  --success-light: rgba(22, 163, 74, 0.12);

  /* Estructura y Geometría */
  --content-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Sombras Modernas */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -4px rgba(0, 0, 0, 0.06), 0 4px 10px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 45px -8px rgba(0, 0, 0, 0.1);
  --shadow-orange: 0 10px 24px -3px rgba(239, 136, 19, 0.38);

  /* Tipografía */
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body.arandu-home {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.arandu-home img, 
.arandu-home svg { 
  display: block; 
  max-width: 100%; 
}

.arandu-home a { 
  color: inherit; 
  text-decoration: none; 
}

.arandu-home .hidden { 
  display: none !important; 
}

.arandu-home :focus-visible { 
  outline: 3px solid var(--brand-orange-glow); 
  outline-offset: 3px; 
}

/* Contenedor Común */
.home-container { 
  width: min(calc(100% - 48px), var(--content-width)); 
  margin-inline: auto; 
}

/* Tipografía de Encabezados y Rótulos */
.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--brand-orange);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-eyebrow::before { 
  width: 24px; 
  height: 3px; 
  border-radius: 99px; 
  background: currentColor; 
  content: ""; 
}

.home-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .75fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}
.home-heading h2 { 
  max-width: 740px; 
  margin: 0; 
  font-size: clamp(2rem, 3.5vw, 2.75rem); 
  line-height: 1.18; 
  letter-spacing: -.03em;
  font-weight: 800;
}
.home-heading p { 
  margin: 0; 
  color: var(--ink-soft); 
  font-size: 1.05rem; 
  line-height: 1.55;
}

/* Botones del Sistema */
.home-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-full);
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .22s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-button:hover { 
  transform: translateY(-2px); 
}
.home-button:active {
  transform: translateY(0);
}

.home-button--primary { 
  color: #ffffff !important; 
  background: var(--brand-orange); 
  box-shadow: 0 4px 14px rgba(239, 136, 19, 0.28);
}
.home-button--primary:hover { 
  background: var(--brand-orange-hover); 
  box-shadow: var(--shadow-orange); 
}
.home-button--primary:active {
  background: var(--brand-orange-active);
}

.home-button--light { 
  color: var(--ink) !important; 
  background: #ffffff; 
  box-shadow: var(--shadow-sm);
}
.home-button--light:hover { 
  background: #ffffff; 
  color: var(--brand-orange) !important;
  box-shadow: var(--shadow-md);
}

.home-button--outline { 
  border-color: var(--line); 
  background: #ffffff; 
  color: var(--ink);
}
.home-button--outline:hover { 
  border-color: var(--brand-orange); 
  color: var(--brand-orange); 
  background: var(--brand-orange-light);
}

.home-button--outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
  backdrop-filter: blur(8px);
}
.home-button--outline-light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.home-button svg { 
  width: 18px; 
  height: 18px; 
  transition: transform .2s ease;
}
.home-button:hover svg {
  transform: translateX(2px);
}

/* ==========================================================================
   Encabezado (Header)
   ========================================================================== */
.home-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background .2s ease, border-color .2s ease;
}
.home-header-inner { 
  display: flex; 
  min-height: 80px; 
  align-items: center; 
  justify-content: space-between; 
  gap: 28px; 
}

.home-brand { 
  display: inline-flex; 
  flex-shrink: 0; 
  align-items: center; 
}
.home-brand img { 
  width: auto; 
  height: 44px; 
  max-height: 48px; 
  object-fit: contain; 
}

.home-nav { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
}
.home-nav > a { 
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: .92rem; 
  font-weight: 600; 
  color: var(--ink);
  transition: all .2s ease;
}
.home-nav > a:hover { 
  color: var(--brand-orange); 
  background: var(--brand-orange-light);
}

.home-header-actions { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
}
.home-icon-button {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  transition: all .2s ease;
}
.home-icon-button:hover { 
  color: var(--brand-orange); 
  border-color: var(--brand-orange-border); 
  background: var(--brand-orange-light); 
}
.home-icon-button svg {
  width: 20px;
  height: 20px;
}

.home-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border: 2px solid #ffffff;
  border-radius: var(--radius-full);
  color: #ffffff;
  background: var(--brand-orange);
  font-size: .68rem;
  font-weight: 800;
  line-height: 16px;
  box-shadow: 0 2px 6px rgba(239, 136, 19, 0.4);
}

.home-menu-toggle { 
  display: none; 
}
.home-mobile-menu { 
  display: none; 
  padding: 12px 0 24px; 
  border-top: 1px solid var(--line);
}
.home-mobile-menu:not(.hidden) { 
  display: grid; 
  gap: 6px; 
}
.home-mobile-menu a, 
.home-mobile-menu button { 
  padding: 12px 14px; 
  text-align: left; 
  font-weight: 700; 
  font-size: .95rem;
  border-radius: var(--radius-sm);
  transition: background .15s ease;
}
.home-mobile-menu a:hover {
  background: var(--brand-orange-light);
  color: var(--brand-orange);
}

/* ==========================================================================
   Portada (Hero)
   ========================================================================== */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background: radial-gradient(circle at 85% 20%, rgba(239, 136, 19, 0.08), transparent 40%), linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  border-bottom: 1px solid var(--line-light);
}
.home-hero::after { 
  position: absolute; 
  right: -120px; 
  bottom: -320px; 
  width: 620px; 
  height: 620px; 
  border: 75px solid rgba(239, 136, 19, 0.035); 
  border-radius: 50%; 
  pointer-events: none;
  content: ""; 
}

.home-hero-grid { 
  position: relative; 
  z-index: 1; 
  display: grid; 
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); 
  gap: clamp(40px, 6vw, 85px); 
  align-items: center; 
}

.home-hero h1 { 
  max-width: 800px; 
  margin: 0; 
  font-size: clamp(2.4rem, 4.4vw, 3.85rem); 
  line-height: 1.12; 
  letter-spacing: -.035em; 
  font-weight: 800;
  color: var(--ink);
}
.home-hero h1 span { 
  color: var(--brand-orange); 
  display: inline;
}

.home-hero-lead { 
  max-width: 620px; 
  margin: 22px 0 32px; 
  color: var(--ink-soft); 
  font-size: clamp(1.05rem, 1.4vw, 1.2rem); 
  line-height: 1.6;
}

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

.home-hero-note { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  margin-top: 28px; 
  color: var(--ink-soft); 
  font-size: .88rem; 
  font-weight: 500;
}
.home-hero-note span { 
  width: 9px; 
  height: 9px; 
  border-radius: 50%; 
  background: var(--success); 
  box-shadow: 0 0 0 4px var(--success-light); 
}

.home-hero-visual { 
  position: relative; 
  min-height: 460px; 
}
.home-logo-card { 
  position: absolute; 
  inset: 16px 16px 48px 10px; 
  display: grid; 
  place-items: center; 
  overflow: hidden; 
  border-radius: var(--radius-xl); 
  background: var(--brand-dark); 
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg); 
}
.home-logo-card::before { 
  position: absolute; 
  inset: auto -15% -80px 25%; 
  height: 180px; 
  transform: rotate(-22deg); 
  background: linear-gradient(90deg, var(--brand-orange) 0%, rgba(239, 136, 19, 0.8) 100%); 
  content: ""; 
}
.home-logo-card img { 
  position: relative; 
  z-index: 1; 
  width: 84%; 
  height: auto; 
  object-fit: contain; 
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}

/* El control queda fuera del flujo: no cambia el tamaño del logo ni la tarjeta. */
.home-video-play {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100% - 32px);
  min-height: 56px;
  padding: 10px 18px;
  border: 1px solid var(--brand-orange);
  border-radius: var(--radius-full);
  color: #ffffff;
  background: var(--brand-dark);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  text-align: left;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.3;
}
.home-video-play svg { width: 28px; height: 28px; flex: 0 0 28px; color: var(--brand-orange); }
.home-video-play small { display: block; margin-top: 3px; font-size: .72rem; font-weight: 400; color: #ccd1d3; }
.home-video-play:hover { background: var(--brand-dark-card); }
.home-video-play:focus-visible, .home-video-close:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 4px; }
.home-video-dialog {
  position: fixed;
  inset: 0;
  width: min(960px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--brand-orange-border);
  border-radius: var(--radius-lg);
  color: #ffffff;
  background: var(--brand-dark);
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
}
.home-video-dialog::backdrop { background: rgba(10,12,12,.84); }
.home-video-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.home-video-header h2 { font-size: 1rem; font-weight: 700; }
.home-video-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #4a4e4e; border-radius: 50%; color: #ffffff; background: var(--brand-dark-card); cursor: pointer; }
.home-video-close:hover { border-color: var(--brand-orange); }
.home-video-close svg { width: 22px; height: 22px; }
.home-video-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 180px);
  max-height: calc(100dvh - 180px);
  object-fit: contain;
  background: #000000;
}
.home-video-footer { padding: 12px 16px; font-size: .78rem; color: #ccd1d3; }
.home-video-footer p { margin: 0; }
.home-video-footer a { color: var(--brand-orange); text-decoration: underline; }

.home-floating-card { 
  position: absolute; 
  z-index: 2; 
  right: -5px; 
  bottom: 12px; 
  max-width: 270px; 
  padding: 18px 22px; 
  border: 1px solid rgba(227, 230, 233, 0.85); 
  border-radius: var(--radius-md); 
  background: rgba(255, 255, 255, 0.95); 
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md); 
}
.home-floating-card strong { 
  display: block; 
  margin-bottom: 4px; 
  font-size: 1rem; 
  font-weight: 700;
  color: var(--ink);
}
.home-floating-card span { 
  color: var(--ink-soft); 
  font-size: .84rem; 
  line-height: 1.45;
}

/* ==========================================================================
   Ventajas (Trust Bar)
   ========================================================================== */
.home-trust { 
  color: #ffffff; 
  background: var(--brand-dark); 
  border-top: 1px solid var(--brand-dark-border);
  border-bottom: 1px solid var(--brand-dark-border);
}
.home-trust-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
}
.home-trust-item { 
  display: flex; 
  min-height: 110px; 
  align-items: center; 
  gap: 16px; 
  padding: 24px 28px; 
  border-right: 1px solid rgba(255, 255, 255, 0.08); 
  transition: background .2s ease;
}
.home-trust-item:first-child { 
  border-left: 1px solid rgba(255, 255, 255, 0.08); 
}
.home-trust-item:hover {
  background: rgba(255, 255, 255, 0.025);
}

.home-trust-icon { 
  display: grid; 
  flex: 0 0 42px; 
  width: 42px; 
  height: 42px; 
  place-items: center; 
  border-radius: 12px; 
  color: #ffffff; 
  background: var(--brand-orange); 
  box-shadow: 0 4px 12px rgba(239, 136, 19, 0.32);
}
.home-trust-icon svg { 
  width: 20px; 
  height: 20px; 
}
.home-trust-item strong { 
  display: block; 
  font-size: .95rem; 
  font-weight: 700;
  color: #ffffff;
}
.home-trust-item span:last-child { 
  display: block; 
  margin-top: 3px; 
  color: #a4abb2; 
  font-size: .8rem; 
  line-height: 1.4;
}

/* ==========================================================================
   Categorías de Soluciones
   ========================================================================== */
.home-categories { 
  padding: 96px 0; 
  background: var(--paper);
}
.home-category-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px; 
}

.home-category-card { 
  position: relative; 
  min-height: 270px; 
  padding: 26px; 
  overflow: hidden; 
  border: 1px solid var(--line); 
  border-radius: var(--radius-lg); 
  background: var(--surface); 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1); 
}
.home-category-card:hover { 
  transform: translateY(-6px); 
  border-color: var(--brand-orange-border); 
  box-shadow: var(--shadow-lg); 
}

.arandu-home .home-category-card--image { 
  color: #ffffff; 
  border-color: rgba(255, 255, 255, 0.14); 
  background-image: linear-gradient(180deg, rgba(20, 21, 21, 0.15) 0%, rgba(20, 21, 21, 0.72) 45%, rgba(20, 21, 21, 0.95) 100%), var(--category-image); 
  background-position: center; 
  background-size: cover; 
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1); 
}
.home-category-card--image:hover { 
  border-color: var(--brand-orange); 
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22); 
}

.home-category-number { 
  color: var(--brand-orange); 
  font-size: .78rem; 
  font-weight: 800; 
  letter-spacing: .12em; 
}
.home-category-card h3 { 
  margin: 40px 0 8px; 
  font-size: 1.35rem; 
  line-height: 1.22; 
  font-weight: 700;
  letter-spacing: -.02em; 
}
.home-category-card p { 
  margin: 0; 
  color: var(--ink-soft); 
  font-size: .88rem; 
}
.home-category-card--image p { 
  color: rgba(255, 255, 255, 0.78); 
}

.home-category-arrow { 
  position: absolute; 
  right: 22px; 
  top: 22px; 
  display: grid; 
  width: 40px; 
  height: 40px; 
  place-items: center; 
  border: 1px solid var(--line); 
  border-radius: 50%; 
  background: #ffffff; 
  color: var(--ink);
  transition: all .25s ease;
}
.home-category-arrow svg { 
  width: 18px; 
  height: 18px; 
  transition: transform .2s ease;
}
.home-category-card--image .home-category-arrow { 
  color: #ffffff; 
  border-color: rgba(255, 255, 255, 0.25); 
  background: rgba(30, 31, 31, 0.5); 
  backdrop-filter: blur(8px); 
}
.home-category-card:hover .home-category-arrow { 
  background: var(--brand-orange); 
  border-color: var(--brand-orange); 
  color: #ffffff; 
  transform: scale(1.05);
}
.home-category-card:hover .home-category-arrow svg {
  transform: translateX(2px);
}

/* ==========================================================================
   Servicio Técnico (Support)
   ========================================================================== */
.home-support { 
  padding: 100px 0; 
  color: #ffffff; 
  background: radial-gradient(ellipse at 80% 10%, rgba(239, 136, 19, 0.12) 0%, transparent 50%), var(--brand-dark); 
  border-top: 1px solid var(--brand-dark-border);
  border-bottom: 1px solid var(--brand-dark-border);
}
.home-support-grid { 
  display: grid; 
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); 
  gap: clamp(40px, 7vw, 95px); 
  align-items: center; 
}

.home-support .home-eyebrow { 
  color: var(--brand-orange); 
}
.home-support h2 { 
  max-width: 540px; 
  margin: 0; 
  font-size: clamp(2rem, 3.5vw, 2.9rem); 
  line-height: 1.18; 
  font-weight: 800;
  letter-spacing: -.03em; 
}
.home-support-copy > p { 
  max-width: 520px; 
  margin: 22px 0 32px; 
  color: #b5bcc3; 
  font-size: 1.05rem; 
  line-height: 1.6;
}

.home-support-steps { 
  display: grid; 
  gap: 14px; 
}
.home-support-step { 
  display: grid; 
  grid-template-columns: 48px 1fr; 
  gap: 18px; 
  align-items: center;
  padding: 22px 24px; 
  border: 1px solid rgba(255, 255, 255, 0.08); 
  border-radius: var(--radius-md); 
  background: rgba(255, 255, 255, 0.035); 
  transition: all .2s ease;
}
.home-support-step:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(239, 136, 19, 0.35);
  transform: translateX(4px);
}

.home-step-number { 
  display: grid; 
  width: 48px; 
  height: 48px; 
  place-items: center; 
  border-radius: 50%; 
  color: #ffffff; 
  background: var(--brand-orange); 
  font-weight: 800; 
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(239, 136, 19, 0.35);
}
.home-support-step h3 { 
  margin: 0 0 4px; 
  font-size: 1.08rem; 
  font-weight: 700;
  color: #ffffff;
}
.home-support-step p { 
  margin: 0; 
  color: #9ea5ac; 
  font-size: .88rem; 
  line-height: 1.45;
}

/* ==========================================================================
   Productos Destacados
   ========================================================================== */
.home-featured { 
  padding: 100px 0; 
  background: var(--surface); 
}
.home-product-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 22px; 
}

.home-product-card { 
  overflow: hidden; 
  border: 1px solid var(--line); 
  border-radius: var(--radius-lg); 
  background: #ffffff; 
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-product-card:hover {
  transform: translateY(-6px);
  border-color: #d1d6dc;
  box-shadow: var(--shadow-md);
}

.home-product-visual { 
  position: relative; 
  display: flex; 
  align-items: center;
  justify-content: center;
  min-height: 250px; 
  padding: 24px;
  overflow: hidden; 
  background: #ffffff;
  border-bottom: 1px solid var(--line-light);
}
.home-product-visual img { 
  max-height: 200px; 
  width: 100%; 
  object-fit: contain; 
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1); 
}
.home-product-card:hover .home-product-visual img { 
  transform: scale(1.05); 
}

.home-product-badge { 
  position: absolute; 
  top: 16px; 
  left: 16px; 
  padding: 5px 12px; 
  border-radius: var(--radius-full); 
  color: #ffffff; 
  background: rgba(30, 31, 31, 0.88); 
  backdrop-filter: blur(8px);
  font-size: .68rem; 
  font-weight: 800; 
  letter-spacing: .06em; 
  text-transform: uppercase; 
}

.home-product-body { 
  padding: 24px; 
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.home-product-category { 
  color: var(--brand-orange); 
  font-size: .72rem; 
  font-weight: 800; 
  letter-spacing: .09em; 
  text-transform: uppercase; 
}
.home-product-body h3 { 
  margin: 6px 0 10px; 
  font-size: 1.2rem; 
  line-height: 1.28; 
  font-weight: 700;
}
.home-product-body h3 a {
  color: var(--ink);
  transition: color .2s ease;
}
.home-product-body h3 a:hover { 
  color: var(--brand-orange); 
}

.home-product-body p { 
  min-height: 42px; 
  margin: 0 0 20px; 
  color: var(--ink-soft); 
  font-size: .88rem; 
  line-height: 1.5;
}

.home-product-meta { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 12px; 
  padding-top: 18px; 
  margin-top: auto;
  border-top: 1px solid var(--line-light); 
}
.home-product-price { 
  color: var(--ink); 
  font-size: 1.35rem; 
  font-weight: 800; 
  letter-spacing: -.02em;
}

.home-add-button { 
  display: grid; 
  width: 44px; 
  height: 44px; 
  place-items: center; 
  border: 0; 
  border-radius: 50%; 
  color: #ffffff; 
  background: var(--brand-orange); 
  cursor: pointer; 
  box-shadow: 0 4px 12px rgba(239, 136, 19, 0.3);
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-add-button:hover {
  background: var(--brand-orange-hover);
  transform: scale(1.06);
  box-shadow: var(--shadow-orange);
}
.home-add-button:disabled { 
  opacity: .35; 
  cursor: not-allowed; 
  box-shadow: none;
}
.home-empty { grid-column: 1 / -1; padding: 45px; border: 1px dashed #aaa; border-radius: var(--radius-md); text-align: center; background: #fff; }
.home-empty strong { display: block; margin-bottom: 7px; font-size: 1.3rem; }
.home-empty p { margin: 0 0 20px; color: var(--ink-soft); }

/* ==========================================================================
   La Empresa (About)
   ========================================================================== */
.home-about { 
  padding: 100px 0; 
  background: var(--paper);
}
.home-about-grid { 
  display: grid; 
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); 
  gap: clamp(45px, 7vw, 95px); 
  align-items: center; 
}

.home-about-art { 
  position: relative; 
  min-height: 480px; 
  border-radius: var(--radius-xl); 
  background: radial-gradient(circle at 10% 20%, rgba(239, 136, 19, 0.15), transparent 45%), linear-gradient(145deg, var(--brand-dark) 0%, #151616 100%); 
  border: 1px solid var(--brand-dark-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.home-about-art::before { 
  position: absolute; 
  inset: 28px; 
  border: 1px solid rgba(255, 255, 255, 0.12); 
  border-radius: calc(var(--radius-xl) - 8px); 
  content: ""; 
}
.home-about-art::after {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 136, 19, 0.35) 0%, transparent 70%);
  content: "";
}

.home-about-art-copy { 
  position: absolute; 
  right: 42px; 
  bottom: 42px; 
  left: 42px; 
  color: #ffffff; 
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(24, 25, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.home-about-art-copy strong { 
  display: block; 
  max-width: 380px; 
  font-size: clamp(1.8rem, 3vw, 2.6rem); 
  line-height: 1.15; 
  letter-spacing: -.03em; 
  font-weight: 800;
}
.home-about-art-copy span { 
  display: block; 
  margin-top: 14px; 
  font-size: .85rem; 
  font-weight: 700;
  letter-spacing: .08em; 
  text-transform: uppercase; 
  color: var(--brand-orange);
}

.home-about-copy h2 { 
  margin: 0; 
  font-size: clamp(2rem, 3.5vw, 2.85rem); 
  line-height: 1.18; 
  font-weight: 800;
  letter-spacing: -.03em; 
}
.home-about-copy > p { 
  margin: 22px 0 28px; 
  color: var(--ink-soft); 
  font-size: 1.05rem; 
  line-height: 1.6;
}

.home-check-list { 
  display: grid; 
  gap: 14px; 
  padding: 0; 
  margin: 0 0 34px; 
  list-style: none; 
}
.home-check-list li { 
  display: flex; 
  align-items: center; 
  gap: 14px; 
  font-weight: 700; 
  font-size: .95rem;
}
.home-check-list span { 
  display: grid; 
  flex: 0 0 28px; 
  width: 28px; 
  height: 28px; 
  place-items: center; 
  border-radius: 50%; 
  color: var(--brand-orange); 
  background: var(--brand-orange-light); 
  border: 1.5px solid var(--brand-orange-border);
  font-size: .8rem; 
  font-weight: 900;
}

/* ==========================================================================
   Contacto (CTA Banner)
   ========================================================================== */
.home-contact { 
  padding: 0 0 96px; 
}
.home-contact-panel { 
  position: relative; 
  display: grid; 
  grid-template-columns: 1.15fr .85fr; 
  gap: 40px; 
  align-items: center; 
  overflow: hidden; 
  padding: clamp(40px, 5.5vw, 68px); 
  border-radius: var(--radius-xl); 
  color: #ffffff; 
  background: radial-gradient(circle at 92% 35%, rgba(239, 136, 19, 0.28) 0%, transparent 55%), linear-gradient(140deg, var(--brand-dark) 0%, #151616 100%); 
  border: 1px solid rgba(239, 136, 19, 0.25);
  box-shadow: var(--shadow-lg); 
}
.home-contact-panel::after { 
  position: absolute; 
  right: -100px; 
  bottom: -200px; 
  width: 440px; 
  height: 440px; 
  border: 65px solid rgba(255, 255, 255, 0.04); 
  border-radius: 50%; 
  content: ""; 
}
.home-contact-panel h2 { 
  position: relative; 
  z-index: 1; 
  max-width: 640px; 
  margin: 0; 
  font-size: clamp(2.1rem, 3.8vw, 3.1rem); 
  line-height: 1.15; 
  font-weight: 800;
  letter-spacing: -.03em; 
}
.home-contact-side { 
  position: relative; 
  z-index: 1; 
}
.home-contact-side p { 
  margin: 0 0 24px; 
  color: rgba(255, 255, 255, 0.82); 
  font-size: 1.05rem;
  line-height: 1.55;
}
.home-contact-actions { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 12px; 
}

/* ==========================================================================
   Botón Flotante WhatsApp
   ========================================================================== */
.home-whatsapp-button { 
  position: fixed; 
  z-index: 50; 
  right: max(24px, env(safe-area-inset-right)); 
  bottom: max(24px, env(safe-area-inset-bottom)); 
  display: inline-flex; 
  min-height: 62px;
  align-items: center; 
  justify-content: center;
  gap: 10px;
  width: auto;
  height: 62px;
  padding: 8px 20px 8px 8px;
  border: 2px solid var(--brand-orange);
  border-radius: var(--radius-full); 
  color: #ffffff !important; 
  background: var(--brand-dark);
  box-shadow: 0 10px 26px rgba(30, 31, 31, 0.25);
  font-size: .84rem; 
  font-weight: 800; 
  letter-spacing: .02em; 
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1); 
}
.home-whatsapp-button:hover { 
  transform: translateY(-3px) scale(1.02); 
  background: var(--brand-dark-surface);
  box-shadow: var(--shadow-orange);
}
.home-whatsapp-button:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: 4px;
}
.home-whatsapp-label {
  color: #ffffff;
  white-space: nowrap;
}
.home-whatsapp-button svg { 
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 4px;
  border-radius: 50%;
  background: #25d366;
}

/* ==========================================================================
   Pie de Página (Footer)
   ========================================================================== */
.home-footer { 
  padding: 72px 0 32px; 
  color: #ffffff; 
  background: var(--brand-black); 
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.home-footer-grid { 
  display: grid; 
  grid-template-columns: 1.2fr .7fr .9fr; 
  gap: 55px; 
  padding-bottom: 54px; 
}
.home-footer-brand img { 
  width: 210px; 
  height: auto; 
  max-height: 56px; 
  object-fit: contain; 
}
.home-footer-brand p { 
  max-width: 390px; 
  margin: 20px 0 0; 
  color: #9ba1a8; 
  font-size: .92rem; 
  line-height: 1.55;
}
.home-footer-column h3 { 
  margin: 0 0 20px; 
  font-size: .82rem; 
  font-weight: 800;
  letter-spacing: .12em; 
  text-transform: uppercase; 
  color: var(--brand-orange);
}
.home-footer-links { 
  display: grid; 
  gap: 12px; 
  color: #a8afb6; 
  font-size: .9rem; 
}
.home-footer-links a, 
.home-footer-links button { 
  color: inherit;
  transition: color .2s ease;
}
.home-footer-links a:hover, 
.home-footer-links button:hover { 
  color: #ffffff; 
}
.home-footer-links button { 
  padding: 0; 
  border: 0; 
  background: none; 
  text-align: left; 
  cursor: pointer; 
}
.home-footer-bottom { 
  display: flex; 
  justify-content: space-between; 
  gap: 20px; 
  padding-top: 28px; 
  border-top: 1px solid rgba(255, 255, 255, 0.08); 
  color: #71777e; 
  font-size: .8rem; 
}

/* ==========================================================================
   Catálogo Público & Filtros
   ========================================================================== */
.catalog-main { 
  padding: 40px 0 96px; 
  background: var(--paper); 
}
.catalog-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, .44fr);
  gap: 48px;
  align-items: end;
  overflow: hidden;
  padding: clamp(40px, 5.5vw, 72px);
  border-radius: var(--radius-xl);
  color: #ffffff;
  background: radial-gradient(circle at 88% 18%, rgba(239, 136, 19, 0.35), transparent 30%), linear-gradient(135deg, var(--brand-dark) 0%, #111212 100%);
  border: 1px solid var(--brand-dark-border);
}
.catalog-hero::after { 
  position: absolute; 
  right: -80px; 
  bottom: -260px; 
  width: 460px; 
  height: 460px; 
  border: 65px solid rgba(255, 255, 255, 0.04); 
  border-radius: 50%; 
  content: ""; 
}
.catalog-hero-copy, .catalog-summary { 
  position: relative; 
  z-index: 1; 
}
.catalog-hero .home-eyebrow { 
  color: var(--brand-orange); 
}
.catalog-hero h1 { 
  max-width: 760px; 
  margin: 0; 
  font-size: clamp(2.4rem, 4.8vw, 3.8rem); 
  line-height: 1.12; 
  letter-spacing: -.035em; 
  font-weight: 800;
}
.catalog-hero-copy > p:last-child { 
  max-width: 600px; 
  margin: 20px 0 0; 
  color: #b5bcc3; 
  font-size: 1.05rem; 
}
.catalog-summary { 
  padding: 24px; 
  border: 1px solid rgba(255, 255, 255, 0.14); 
  border-radius: var(--radius-md); 
  background: rgba(255, 255, 255, 0.06); 
  backdrop-filter: blur(12px); 
}
.catalog-summary span { 
  display: block; 
  color: var(--brand-orange); 
  font-size: .74rem; 
  font-weight: 800; 
  letter-spacing: .12em; 
  text-transform: uppercase; 
}
.catalog-summary strong { 
  display: block; 
  margin-top: 8px; 
  font-size: 1.4rem; 
  line-height: 1.15; 
  font-weight: 800;
}
.catalog-summary small { 
  display: block; 
  margin-top: 6px; 
  color: #a4abb2; 
}

.catalog-layout { 
  display: grid; 
  grid-template-columns: 290px minmax(0, 1fr); 
  gap: 36px; 
  align-items: start; 
  margin-top: 44px; 
}
.catalog-filter { 
  position: sticky; 
  top: 104px; 
  padding: 26px; 
  border: 1px solid var(--line); 
  border-radius: var(--radius-md); 
  background: var(--surface); 
}
.catalog-filter h2 { 
  margin: 0 0 22px; 
  font-size: .95rem; 
  font-weight: 800;
  letter-spacing: .1em; 
  text-transform: uppercase; 
  color: var(--ink);
}
.catalog-form { 
  display: grid; 
  gap: 18px; 
}
.catalog-field { 
  display: grid; 
  gap: 8px; 
}
.catalog-field label, .catalog-filter-label { 
  color: var(--ink-soft); 
  font-size: .72rem; 
  font-weight: 800; 
  letter-spacing: .11em; 
  text-transform: uppercase; 
}
.catalog-field input, .catalog-field select { 
  width: 100%; 
  min-height: 46px; 
  padding: 10px 14px; 
  border: 1.5px solid var(--line); 
  border-radius: var(--radius-sm); 
  color: var(--ink); 
  background: #ffffff; 
  font-size: .92rem;
  transition: border-color .2s ease;
}
.catalog-field input:focus, .catalog-field select:focus { 
  border-color: var(--brand-orange); 
  outline: 3px solid var(--brand-orange-glow); 
}
.catalog-check { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  font-size: .88rem; 
  font-weight: 600; 
  cursor: pointer; 
}
.catalog-check input { 
  width: 18px; 
  height: 18px; 
  accent-color: var(--brand-orange); 
}
.catalog-filter-actions { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 8px; 
}
.catalog-filter-actions .home-button { 
  min-height: 42px; 
  padding: 8px 12px; 
  font-size: .82rem; 
}
.catalog-filter-categories { 
  margin-top: 26px; 
  padding-top: 22px; 
  border-top: 1px solid var(--line); 
}
.catalog-chips { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 7px; 
  margin-top: 12px; 
}
.catalog-chip { 
  padding: 6px 12px; 
  border: 1.5px solid var(--line); 
  border-radius: var(--radius-full); 
  color: var(--ink-soft); 
  background: #ffffff; 
  font-size: .72rem; 
  font-weight: 700; 
  cursor: pointer;
  transition: all .2s ease;
}
.catalog-chip:hover, .catalog-chip.is-active { 
  color: #ffffff; 
  border-color: var(--brand-orange); 
  background: var(--brand-orange); 
}

.catalog-results-head { 
  display: flex; 
  align-items: end; 
  justify-content: space-between; 
  gap: 20px; 
  margin-bottom: 26px; 
}
.catalog-results-head h2 { 
  margin: 0; 
  font-size: clamp(1.8rem, 2.8vw, 2.4rem); 
  line-height: 1.15; 
  font-weight: 800;
  letter-spacing: -.03em; 
}
.catalog-results-head p { 
  margin: 6px 0 0; 
  color: var(--ink-soft); 
  font-size: .9rem; 
}
.catalog-results-count { 
  flex: 0 0 auto; 
  padding: 8px 14px; 
  border-radius: var(--radius-full); 
  color: var(--ink-soft); 
  background: var(--surface); 
  font-size: .75rem; 
  font-weight: 800; 
  letter-spacing: .06em; 
  text-transform: uppercase; 
}

.catalog-product-grid { 
  display: grid; 
  grid-template-columns: repeat(3, minmax(0, 1fr)); 
  gap: 20px; 
}
.catalog-product-grid .home-product-body p { 
  display: -webkit-box; 
  min-height: 42px; 
  overflow: hidden; 
  -webkit-box-orient: vertical; 
  -webkit-line-clamp: 2; 
}
.catalog-product-brand { 
  display: block; 
  margin-bottom: 5px; 
  color: var(--brand-orange); 
  font-size: .68rem; 
  font-weight: 800; 
  letter-spacing: .08em; 
  text-transform: uppercase; 
}
.catalog-card-actions { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
}
.catalog-view-link { 
  padding: 8px 14px; 
  border: 1.5px solid var(--line); 
  border-radius: var(--radius-full); 
  font-size: .74rem; 
  font-weight: 800; 
  color: var(--ink);
  transition: all .2s ease;
}
.catalog-view-link:hover { 
  border-color: var(--brand-orange); 
  color: var(--brand-orange); 
  background: var(--brand-orange-light);
}
.catalog-empty { 
  padding: 70px 28px; 
  border: 1px dashed #b8b8b3; 
  border-radius: var(--radius-md); 
  text-align: center; 
  background: var(--surface); 
}
.catalog-empty .material-symbols-outlined { 
  margin-bottom: 14px; 
  color: var(--brand-orange); 
  font-size: 42px; 
}
.catalog-empty h2 { 
  margin: 0; 
  font-size: 1.65rem; 
}
.catalog-empty p { 
  max-width: 470px; 
  margin: 10px auto 22px; 
  color: var(--ink-soft); 
}

/* ==========================================================================
   Diseño Adaptable (Responsive Media Queries)
   ========================================================================== */
@media (max-width: 1080px) {
  .home-category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1040px) {
  .home-nav { display: none; }
  .home-menu-toggle { display: grid; }
  .home-hero-grid { grid-template-columns: 1fr; }
  .home-hero-visual { min-height: 420px; }
  .home-logo-card { inset: 10px 8% 42px; }
  .home-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .home-product-grid { grid-template-columns: repeat(2, 1fr); }
  .home-support-grid, .home-about-grid { grid-template-columns: 1fr; }
  .home-about-art { min-height: 420px; }
  .home-contact-panel { grid-template-columns: 1fr; }
  .catalog-hero { grid-template-columns: 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-filter { position: static; }
  .catalog-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .home-container { width: min(calc(100% - 32px), var(--content-width)); }
  .home-header-inner { min-height: 72px; }
  .home-header-actions .home-login-button { display: none; }
  .home-hero { padding: 50px 0 48px; }
  .home-hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .home-hero-visual { min-height: 320px; }
  .home-logo-card { inset: 0 0 38px; }
  .home-logo-card img { width: 88%; }
  .home-header .home-brand img { height: 38px; }
  .home-header-inner { gap: 12px; }
  .home-floating-card { right: 8px; bottom: 5px; padding: 14px 16px; }
  .home-trust-grid, 
  .home-category-grid, 
  .home-product-grid { grid-template-columns: 1fr; }
  .home-trust-item, 
  .home-trust-item:first-child { 
    border-right: 0; 
    border-left: 0; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); 
  }
  .home-heading { grid-template-columns: 1fr; gap: 14px; }
  .home-categories, .home-support, .home-featured, .home-about { padding: 72px 0; }
  .home-category-card { min-height: 230px; }
  .home-whatsapp-button { 
    right: max(16px, env(safe-area-inset-right)); 
    bottom: max(16px, env(safe-area-inset-bottom)); 
    width: 62px;
    padding: 8px;
    gap: 0;
  }
  .home-whatsapp-label {
    display: none;
  }
  .home-about-art { min-height: 380px; }
  .home-about-art::before { inset: 18px; }
  .home-about-art-copy { right: 24px; bottom: 24px; left: 24px; padding: 18px; }
  .home-contact { padding-bottom: 72px; }
  .home-footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-footer-bottom { display: grid; gap: 10px; }
  .catalog-main { padding-top: 24px; padding-bottom: 72px; }
  .catalog-hero { gap: 26px; padding: 32px 22px; }
  .catalog-product-grid { grid-template-columns: 1fr; }
  .catalog-results-head { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Controles reales de la tienda: iconos y ventanas que no forman parte de la maqueta. */
.home-ui-icon { width: 22px; height: 22px; }
.arandu-home section[id] { scroll-margin-top: 88px; }
.home-icon-button .material-symbols-outlined { font-size: 20px; }
#loginModal .text-primary { color: var(--brand-orange); }
#loginModal input:focus { --tw-ring-color: var(--brand-orange); }

/* Presentación de las cuatro líneas de soluciones. */
.home-solution-card { justify-content: flex-start; }
.home-solution-marker { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-solution-marker .material-symbols-outlined { font-size: 34px; color: var(--brand-orange); }
.home-solution-card h3 { margin-top: 24px; }
.home-solution-card > p { flex: 1; }
.home-solution-actions { display: grid; gap: 10px; margin-top: 24px; }
.home-solution-link { display: inline-flex; align-items: center; justify-content: space-between; font-size: .9rem; font-weight: 800; padding: 10px 0; border-top: 1px solid var(--line); }
.arandu-home .home-solution-link:hover { color: var(--brand-orange-active); }
.home-solution-catalog { font-size: .82rem; text-decoration: underline !important; }
