/* brand-sync: floating header dark glass */
:root {
  /* Corporativo: naranja sólido del logo */
  --color-primary: #ff7e0b;
  --color-primary-hover: #e56a00;
  /* Alias legacy (todo el CSS usa --ej-red*) */
  --ej-red: var(--color-primary);
  --ej-red-hover: var(--color-primary-hover);
  --ej-red-bright: var(--color-primary);
  --ej-ink: #141414;
  --ej-muted: #5a5d65;
  --ej-bg: #fbfaf8;
  --ej-card: #ffffff;
  --ej-chip: #f2efe9;
  --ej-glass: rgba(20, 20, 20, 0.72);
  --ej-border: rgba(0, 0, 0, 0.08);
  --ej-border-light: rgba(255, 255, 255, 0.08);
  --ej-radius: 8px;
  --ej-radius-lg: 18px;
  --ej-font-display: "Archivo", system-ui, sans-serif;
  --ej-font-body: "Manrope", system-ui, sans-serif;
  --ej-max: 100%;
  --ej-space: clamp(16px, 4vw, 40px);
  /* Hueco bajo header flotante (como Seguridad Japón / contacto) */
  --ej-header-h: 110px;
  --ej-header-top: 12px;
  --ej-header-content-gap: 16px;
}

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

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: none;
  overflow-x: hidden;
  background: var(--ej-bg);
  color: var(--ej-ink);
  font-family: var(--ej-font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ej-red-bright);
  outline-offset: 2px;
}

.ej-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ej-ink);
  color: #fff;
  padding: 12px 16px;
  z-index: 100;
}

.ej-skip:focus {
  left: 12px;
  top: 12px;
}

.ej-shell {
  width: 100%;
  max-width: none !important;
  margin: 0;
}

.ej-header,
.ej-hero,
.ej-page-hero,
.ej-section-head,
.ej-service-rows,
.ej-trust,
.ej-sister,
.ej-map,
.ej-prose,
.ej-band,
.ej-contact,
.ej-footer,
main {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

/* Header — floating fixed pill (siempre visible al scroll) */
.ej-header {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 10px 22px;
  background: var(--ej-glass);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--ej-border-light);
  border-radius: 999px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
  box-sizing: border-box;
}

.ej-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.ej-logo {
  height: 80px;
  width: auto;
  display: block;
}

.ej-nav {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 10px;
  font-weight: 600;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
}

.ej-nav > a {
  text-decoration: none;
  position: relative;
  padding: 8px 10px;
  border-radius: 999px;
  transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.ej-nav > a:hover,
.ej-nav > a.is-active,
.ej-nav > a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 4px 14px rgba(0, 0, 0, 0.2);
}

.ej-nav-item {
  position: relative;
}

.ej-nav-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 999px;
  line-height: 1.2;
  transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.ej-nav-item.is-open > .ej-nav-trigger,
.ej-nav-item.is-active > .ej-nav-trigger,
.ej-nav-trigger:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.ej-nav-item.is-active > .ej-nav-trigger {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 4px 14px rgba(0, 0, 0, 0.2);
}

.ej-nav-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  padding: 18px 14px 14px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  z-index: 60;
  pointer-events: auto;
}

/* Puente invisible para no perder el hover entre el botón y el panel */
.ej-nav-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.ej-nav-item.is-open > .ej-nav-panel {
  display: flex;
}

.ej-nav-panel[hidden] {
  display: none !important;
}

.ej-nav-pill {
  display: flex;
  justify-content: flex-start;
  text-decoration: none;
  background: var(--ej-chip);
  color: var(--ej-ink);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ej-nav-pill:hover {
  transform: translateY(-1px);
  background: #e8e3da;
}

.ej-nav-pill[aria-current="page"] {
  background: #ffe8d4;
  box-shadow: inset 0 0 0 1.5px rgba(255, 126, 11, 0.55), 0 2px 8px rgba(255, 126, 11, 0.22);
  font-weight: 700;
  color: var(--ej-ink);
}

.ej-cta-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--color-primary);
  color: #fff;
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  font-family: var(--ej-font-display);
  white-space: nowrap;
  transition: background 0.2s ease;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
}

.ej-cta-phone:hover {
  background: var(--color-primary-hover);
}

.ej-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.ej-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.ej-menu-toggle span::before,
.ej-menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.ej-menu-toggle span::before {
  top: -6px;
}

.ej-menu-toggle span::after {
  top: 6px;
}

.ej-nav-mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  position: fixed;
  top: 118px;
  left: 12px;
  right: 12px;
  z-index: 99;
  width: auto;
  margin: 0;
  padding: 14px 16px 16px;
  background: var(--ej-glass);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--ej-border-light);
  border-radius: 28px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  box-sizing: border-box;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}

.ej-nav-mobile.is-open {
  display: flex;
}

.ej-nav-mobile > a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 16px;
  padding: 10px 8px;
  border-radius: 999px;
}

.ej-nav-mobile > a[aria-current="page"],
.ej-nav-mobile > a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 4px 14px rgba(0, 0, 0, 0.2);
}

.ej-nav-mobile .ej-nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}

.ej-nav-mobile .ej-nav-trigger {
  width: 100%;
  text-align: left;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  padding: 10px 8px;
  border-radius: 999px;
}

.ej-nav-mobile .ej-nav-item.is-open > .ej-nav-trigger,
.ej-nav-mobile .ej-nav-item.is-active > .ej-nav-trigger {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.ej-nav-mobile .ej-nav-item.is-active > .ej-nav-trigger {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 4px 14px rgba(0, 0, 0, 0.2);
}

.ej-nav-mobile .ej-nav-panel {
  position: static;
  transform: none;
  left: auto;
  top: auto;
  min-width: 0;
  width: 100%;
  margin-top: 6px;
  margin-bottom: 4px;
  background: transparent;
  box-shadow: none;
  padding: 4px 0 8px;
  border-radius: 0;
}

.ej-nav-mobile .ej-nav-pill {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.ej-nav-mobile .ej-nav-pill:hover {
  background: rgba(255, 255, 255, 0.18);
}

.ej-nav-mobile .ej-nav-pill[aria-current="page"] {
  background: #ffe8d4;
  color: var(--ej-ink);
  box-shadow: inset 0 0 0 1.5px rgba(255, 126, 11, 0.55), 0 2px 8px rgba(255, 126, 11, 0.22);
  font-weight: 700;
}

/* Inner pages without orange hero still need clearance under fixed header */
body.ej-inner main {
  padding-top: calc(var(--ej-header-top) + var(--ej-header-h) + var(--ej-header-content-gap));
}

/* Nosotros / Tienda (caja) y servicios: el hero gestiona su propio margen */
body.ej-inner main:has(.ej-page-hero--about),
body.ej-inner main:has(.ej-svc-hero) {
  padding-top: 0;
}

/* Hero */
.ej-hero {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.ej-hero-copy,
.ej-page-hero {
  background: var(--color-primary);
  color: #fff;
  padding: clamp(42px, 8vw, 66px) var(--ej-space) clamp(42px, 7vw, 62px);
  position: relative;
  overflow: hidden;
}

/* Espacio bajo el header fijo para que el texto del hero no quede tapado */
.ej-hero-copy {
  padding-top: clamp(128px, 18vw, 168px);
}

.ej-page-hero.ej-hero-dark {
  background: var(--ej-ink);
}

.ej-blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  animation: ejFloat 9s ease-in-out infinite;
  pointer-events: none;
}

.ej-blob-1 {
  bottom: -90px;
  right: -70px;
  width: 300px;
  height: 300px;
}

.ej-kicker {
  position: relative;
  font-family: var(--ej-font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}

.ej-hero h1,
.ej-page-hero h1 {
  position: relative;
  font-family: var(--ej-font-display);
  font-weight: 900;
  font-size: clamp(36px, 8vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 18px 0 20px;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 2px 16px rgba(0, 0, 0, 0.28);
}

.ej-hero p,
.ej-page-hero p {
  position: relative;
  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.5;
  opacity: 0.92;
  margin: 0 0 30px;
  max-width: none;
}

.ej-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;
  text-decoration: none;
  background: var(--ej-ink);
  color: #fff;
  padding: 16px 30px;
  border-radius: var(--ej-radius);
  font-weight: 800;
  font-size: 16px;
  font-family: var(--ej-font-display);
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.ej-btn:hover {
  background: #000;
}

.ej-btn-red {
  background: var(--color-primary);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
}

.ej-btn-red:hover {
  background: var(--color-primary-hover);
}

.ej-hero-media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #eceae5;
}

.ej-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.ej-placeholder {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: #6a6a6a;
  background: rgba(255, 255, 255, 0.8);
  padding: 7px 11px;
  border-radius: 8px;
}

/* Sections */
.ej-section-head {
  padding: 56px var(--ej-space) 20px;
  text-align: center;
}

.ej-section-head .ej-kicker {
  color: var(--ej-red);
  opacity: 1;
}

.ej-section-head h2 {
  font-family: var(--ej-font-display);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: -0.02em;
  margin: 10px 0 0;
  text-transform: uppercase;
}

.ej-service-rows {
  padding: 24px var(--ej-space) 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ej-service-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}

.ej-service-card {
  text-decoration: none;
  color: inherit;
  align-items: center;
  min-height: 96px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.ej-service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.ej-service-card.ej-row-dark:hover {
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.ej-service-card .ej-row-title {
  margin: 0;
}

.ej-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  background: var(--ej-card);
  border: 1px solid var(--ej-border);
  border-radius: var(--ej-radius-lg);
  padding: 24px 26px;
  scroll-margin-top: 140px;
}

.ej-row-dark {
  background: var(--ej-ink);
  color: #fff;
  border-color: transparent;
}

.ej-row-title {
  font-family: var(--ej-font-display);
  font-weight: 900;
  font-size: clamp(22px, 4vw, 26px);
  letter-spacing: -0.01em;
}

.ej-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ej-chip {
  display: inline-flex;
  text-decoration: none;
  background: var(--ej-chip);
  color: var(--ej-ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease;
}

.ej-chip:hover {
  transform: translateY(-1px);
  background: #e8e3da;
}

.ej-row-dark .ej-chip {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.ej-row-dark .ej-chip:hover {
  background: rgba(255, 255, 255, 0.18);
}

.ej-more {
  text-decoration: none;
  color: var(--ej-red);
  font-weight: 800;
  font-family: var(--ej-font-display);
  font-size: 15px;
  white-space: nowrap;
}

.ej-row-dark .ej-more {
  color: var(--color-primary);
}

/* Trust */
.ej-trust {
  padding: 36px var(--ej-space) 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.ej-trust-card {
  background: var(--ej-card);
  border: 1px solid var(--ej-border);
  border-radius: var(--ej-radius-lg);
  padding: 28px;
}

.ej-trust-card strong {
  display: block;
  font-family: var(--ej-font-display);
  font-size: 40px;
  font-weight: 900;
  color: var(--ej-red);
  line-height: 1;
}

.ej-trust-card strong.ej-trust-text {
  font-size: clamp(22px, 2.2vw, 26px);
  line-height: 1.15;
  max-width: 14ch;
}

.ej-trust-card h3 {
  font-family: var(--ej-font-display);
  font-weight: 800;
  margin: 6px 0 0;
  font-size: 17px;
}

.ej-trust-card p {
  font-size: 14px;
  color: var(--ej-muted);
  margin: 2px 0 0;
}

/* Empresa hermana: enlace a Seguridad Japón */
.ej-sister {
  padding: 56px var(--ej-space) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.ej-sister-text {
  margin: 0;
  font-family: var(--ej-font-display);
  font-weight: 800;
  font-size: clamp(16px, 2.2vw, 21px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ej-ink);
  max-width: 27ch;
}

.ej-sister-logo {
  width: min(240px, 62vw);
  height: auto;
  display: block;
  border-radius: 10px;
}

.ej-sister-btn {
  margin-top: 4px;
  padding: 14px 36px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.02em;
  align-self: center;
}

.ej-sister-btn:hover {
  transform: translateY(-1px);
}

/* Inner page content */
.ej-prose {
  padding: 36px var(--ej-space) 12px;
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: none;
}

.ej-prose h2,
.ej-prose h3 {
  font-family: var(--ej-font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 12px 0 0;
}

.ej-prose h2 {
  font-size: clamp(22px, 4vw, 28px);
}

.ej-prose h3 {
  font-size: clamp(18px, 3vw, 22px);
}

.ej-prose p {
  margin: 0;
  color: var(--ej-muted);
  font-size: 16px;
  line-height: 1.65;
}

.ej-prose a {
  color: var(--ej-red);
  font-weight: 600;
}

/* —— Service page (guía Antenas colectivas) —— */
.ej-breadcrumb {
  padding: 16px var(--ej-space) 0;
  font-size: 13px;
  font-weight: 600;
  color: #8a8d95;
}

.ej-breadcrumb a {
  text-decoration: none;
}

.ej-breadcrumb a:hover {
  color: var(--ej-ink);
}

.ej-breadcrumb-current {
  color: var(--ej-red);
}

.ej-svc-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  padding: 140px var(--ej-space) 8px;
}

.ej-svc-hero-copy {
  background: var(--color-primary);
  color: #fff;
  padding: clamp(36px, 6vw, 52px) clamp(24px, 4vw, 44px);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.ej-svc-hero-copy h1,
.ej-svc-hero-copy h2,
.ej-svc-hero-copy .ej-svc-hero-title {
  position: relative;
  font-family: var(--ej-font-display);
  font-weight: 900;
  font-size: clamp(36px, 6vw, 50px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 14px 0 18px;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 2px 16px rgba(0, 0, 0, 0.28);
}

.ej-svc-hero-copy p {
  position: relative;
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.5;
  opacity: 0.96;
  margin: 0 0 28px;
  max-width: 420px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 12px rgba(0, 0, 0, 0.22);
}

.ej-svc-hero-media {
  position: relative;
  background: #eceae5;
  border-radius: 22px;
  overflow: hidden;
  min-height: 320px;
  margin-top: 12px;
}

.ej-svc-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.ej-svc-hero-media:has(.ej-placeholder) {
  background: repeating-linear-gradient(45deg, #eceae5 0 16px, #f4f2ee 16px 32px);
  display: flex;
  align-items: flex-end;
  padding: 22px;
}

.ej-svc-hero-media:has(.ej-placeholder) img {
  display: none;
}

.ej-svc-intro {
  padding: 44px var(--ej-space) 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.ej-svc-intro-copy .ej-kicker {
  color: var(--ej-red);
  opacity: 1;
}

.ej-svc-intro-copy h2 {
  font-family: var(--ej-font-display);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.02em;
  margin: 8px 0 14px;
  line-height: 1.05;
}

.ej-svc-intro-copy p {
  font-size: 17px;
  line-height: 1.6;
  color: #4a4d55;
  margin: 0 0 14px;
}

.ej-svc-intro-copy p:last-child {
  margin-bottom: 0;
}

.ej-svc-blurb {
  padding: 28px var(--ej-space) 12px;
}

.ej-svc-blurb-copy {
  max-width: 720px;
}

.ej-svc-blurb-copy .ej-kicker {
  display: block;
  color: var(--ej-red);
  opacity: 1;
  margin: 0 0 10px;
}

.ej-svc-blurb-copy p {
  font-size: 17px;
  line-height: 1.6;
  color: #4a4d55;
  margin: 0;
}

.ej-svc-blurb-copy--tight {
  margin-top: 56px;
}

.ej-svc-intro-copy .ej-svc-blurb-copy .ej-kicker,
.ej-svc-intro-copy h2.ej-kicker {
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 8px;
}

.ej-svc-cat-list {
  margin: 0;
  padding: 0 0 0 1.15em;
  list-style: disc;
  font-size: 17px;
  line-height: 1.55;
  color: #4a4d55;
}

.ej-svc-cat-list li {
  margin: 0 0 4px;
}

.ej-svc-cat-list li:last-child {
  margin-bottom: 0;
}

.ej-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ej-benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--ej-border);
  border-radius: 14px;
  padding: 18px 20px;
}

.ej-benefit-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ej-red);
  margin-top: 5px;
  flex: none;
}

.ej-benefit strong {
  display: block;
  font-family: var(--ej-font-display);
  font-weight: 800;
  font-size: 16px;
}

.ej-benefit span {
  display: block;
  font-size: 14px;
  color: var(--ej-muted);
  margin-top: 2px;
}

.ej-svc-offers-wrap {
  padding: 36px var(--ej-space) 8px;
}

.ej-svc-offers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.ej-svc-brands {
  width: 100%;
  box-sizing: border-box;
  padding: 20px var(--ej-space) 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.ej-svc-brands-lead,
.ej-svc-brands-list,
.ej-svc-brands-note {
  margin: 0;
  width: 100%;
  max-width: 860px;
  text-align: center;
  font-family: var(--ej-font-body);
  line-height: 1.6;
  color: #6b6b6b;
}

.ej-svc-brands-lead {
  font-size: 15px;
  font-weight: 600;
  color: #4a4d55;
}

.ej-svc-brands-list {
  font-size: 15px;
}

.ej-page-hero {
  /* Estilo base de páginas interiores (hero a ancho completo, p. ej. Contacto) */
  background: var(--color-primary);
  color: #fff;
}

.ej-page-hero-inner {
  padding: clamp(36px, 6vw, 64px) clamp(24px, 4vw, 48px);
}

/* Caja naranja Nosotros / Tienda */
.ej-page-hero--about {
  /* Header: top 12 + alto 118 = 130 → + 6px hueco = 136px */
  margin: 136px var(--ej-space) 8px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--color-primary);
  color: #fff;
  /* Padding exterior (~66 vertical, ~40 horizontal) */
  padding: clamp(42px, 8vw, 66px) var(--ej-space) clamp(42px, 7vw, 62px);
}

.ej-page-hero--about .ej-page-hero-inner {
  /* Padding interior (~64 vertical, ~48 horizontal) */
  padding: clamp(36px, 6vw, 64px) clamp(24px, 4vw, 48px);
  text-align: left;
}

.ej-page-hero--about h1 {
  margin: 0;
  position: relative;
  font-family: var(--ej-font-display); /* Archivo */
  font-weight: 900;
  font-size: clamp(36px, 8vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 2px 16px rgba(0, 0, 0, 0.28);
}

/* Historia en Nosotros: menos aire inferior si sigue la banda CTA */
.ej-info-split--rail:has(+ .ej-contact),
.ej-info-split--rail:has(+ .ej-band),
.ej-info-split--rail:has(+ .ej-map) {
  padding-bottom: 24px;
}

.ej-map {
  padding: 12px var(--ej-space) 28px;
}

.ej-map-title {
  margin: 0 0 18px;
  font-family: var(--ej-font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ej-ink);
}

.ej-map-frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--ej-border);
  background: #eceae5;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  max-height: 450px;
}

.ej-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.ej-info-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 36px var(--ej-space);
  align-items: center;
}

.ej-info-split-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 260px;
  background: #eceae5;
}

.ej-info-split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}

.ej-info-split-copy h2 {
  margin: 0 0 14px;
  font-family: var(--ej-font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ej-ink);
}

.ej-info-split-copy p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.65;
  color: #4a4d55;
}

.ej-info-address {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ej-ink);
}

.ej-info-split-copy .ej-btn {
  margin-top: 4px;
}

.ej-info-split--text {
  grid-template-columns: 1fr;
  max-width: 720px;
}

/* Bloque imagen+texto más alto (fachada Nosotros): texto centrado en vertical */
.ej-info-split--tall {
  align-items: stretch;
}

.ej-info-split--tall .ej-info-split-media {
  min-height: 300px;
}

/* Foto Nosotros: compacta y centrada en su columna */
.ej-info-split-media--sm {
  min-height: 0;
  max-width: 420px;
  width: 100%;
  aspect-ratio: 557 / 381;
  margin-inline: auto;
  align-self: center;
  justify-self: center;
}

.ej-info-split--tall .ej-info-split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Texto alineado con la columna derecha de .ej-info-split (p. ej. historia en Nosotros) */
.ej-info-split--rail {
  grid-template-columns: 1fr;
  padding-bottom: 72px;
}

.ej-info-split--rail .ej-info-split-copy p:last-child {
  margin-bottom: 0;
}

.ej-partners {
  padding: 36px var(--ej-space) 12px;
  text-align: center;
}

.ej-partners-label {
  margin: 0 0 16px;
  font-family: var(--ej-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ej-ink);
}

.ej-partners-band {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 40px);
  background: #fff;
  border-radius: 16px;
  min-height: 160px;
  padding: 18px clamp(48px, 10vw, 120px);
  border: 1px solid var(--ej-border);
  overflow: hidden;
}

.ej-partners-band img {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: 120px;
  max-width: none;
  max-height: 120px;
  object-fit: contain;
  display: block;
}

.ej-partners-carousel {
  display: block;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 22px 16px;
}

.ej-partners-viewport {
  overflow: hidden;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.ej-partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.ej-partners-slide {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

.ej-partners-slide img {
  flex: none;
  width: auto;
  height: 120px;
  max-height: 120px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.ej-partners-slide img[src*="distribuidor-movistar"],
.ej-partners-slide img[src*="distribuidor-lowi"] {
  height: 72px;
  max-height: 72px;
}

.ej-partners-slide img[src*="distribuidor-lowi"] {
  height: 58px;
  max-height: 58px;
  transform: translateY(-6px);
}

@media (max-width: 767px) {
  .ej-partners-band:not(.ej-partners-carousel) {
    flex-wrap: wrap;
    justify-content: center;
    min-height: 0;
    padding: 20px 28px;
    gap: 18px;
  }

  .ej-partners-band:not(.ej-partners-carousel) img {
    flex: 0 1 calc(50% - 12px);
    height: 72px;
    max-width: 160px;
  }

  .ej-partners-carousel {
    min-height: 110px;
    padding: 16px 8px;
  }

  .ej-partners-viewport {
    max-width: 100%;
  }

  .ej-partners-slide {
    width: 33.333vw;
    min-width: 110px;
    padding: 0 6px;
  }

  .ej-partners-slide img {
    height: 72px;
    max-height: 72px;
  }

  .ej-partners-slide img[src*="distribuidor-movistar"],
  .ej-partners-slide img[src*="distribuidor-lowi"] {
    height: 48px;
    max-height: 48px;
  }

  .ej-partners-slide img[src*="distribuidor-lowi"] {
    height: 40px;
    max-height: 40px;
    transform: translateY(-4px);
  }
}

.ej-offer {
  background: #fff;
  border: 1px solid var(--ej-border);
  border-radius: 18px;
  padding: 28px;
}

.ej-offer-dark {
  background: var(--ej-ink);
  color: #fff;
  border-color: transparent;
}

.ej-offer-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ej-red);
  margin-bottom: 16px;
}

.ej-offer-dark .ej-offer-icon {
  background: var(--ej-red);
}

.ej-offer:not(.ej-offer-dark) .ej-offer-icon.ej-offer-icon-ink {
  background: var(--ej-ink);
}

.ej-offer h3 {
  font-family: var(--ej-font-display);
  font-weight: 800;
  font-size: 20px;
  margin: 0 0 6px;
}

.ej-offer p {
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
  color: var(--ej-muted);
}

.ej-offer-dark p {
  color: rgba(255, 255, 255, 0.65);
}

.ej-budget {
  padding: 44px var(--ej-space) 20px;
}

.ej-budget-panel {
  background: var(--ej-ink);
  border-radius: 22px;
  padding: clamp(28px, 5vw, 46px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  color: #fff;
}

.ej-budget-panel h2 {
  font-family: var(--ej-font-display);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.ej-budget-panel h2 span {
  color: var(--ej-red);
}

.ej-budget-panel > div > p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 24px;
  max-width: 320px;
}

.ej-budget-phone {
  text-decoration: none;
  color: #fff;
  font-family: var(--ej-font-display);
  font-weight: 800;
  font-size: clamp(22px, 4vw, 28px);
}

.ej-budget-addrs {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

.ej-budget .ej-form select {
  appearance: none;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff;
  font-size: 15px;
  font-family: var(--ej-font-body);
  width: 100%;
}

.ej-budget .ej-form select option {
  color: var(--ej-ink);
}

.ej-svc-related {
  padding: 20px var(--ej-space) 44px;
}

.ej-svc-related h2 {
  font-family: var(--ej-font-display);
  font-weight: 800;
  font-size: clamp(22px, 3.5vw, 26px);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.ej-svc-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.ej-svc-related-card {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--ej-border);
  border-radius: 16px;
  padding: 24px 28px;
}

.ej-svc-related-card span:first-child {
  font-family: var(--ej-font-display);
  font-weight: 800;
  font-size: clamp(17px, 2.5vw, 20px);
  color: var(--ej-ink);
}

.ej-svc-related-card span:last-child {
  color: var(--ej-red);
  font-weight: 800;
  font-family: var(--ej-font-display);
  white-space: nowrap;
}

.ej-cards {
  padding: 28px var(--ej-space) 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.ej-card {
  background: var(--ej-card);
  border: 1px solid var(--ej-border);
  border-radius: var(--ej-radius-lg);
  padding: 24px 26px;
}

.ej-card h3 {
  font-family: var(--ej-font-display);
  font-weight: 800;
  font-size: 20px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.ej-card p {
  margin: 0;
  color: var(--ej-muted);
  font-size: 15px;
}

.ej-band {
  padding: 24px var(--ej-space) 8px;
}

.ej-band-inner {
  background: var(--ej-ink);
  color: #fff;
  border-radius: 20px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.ej-band-inner p {
  margin: 0;
  font-family: var(--ej-font-display);
  font-weight: 800;
  font-size: clamp(20px, 3.5vw, 26px);
  letter-spacing: -0.01em;
  max-width: none;
}

/* Contact */
.ej-contact {
  padding: 40px var(--ej-space) 48px;
  scroll-margin-top: 140px;
}

.ej-contact-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  background: var(--ej-ink);
  color: #fff;
  border-radius: 20px;
  padding: clamp(24px, 4vw, 36px);
}

.ej-contact-panel h2 {
  font-family: var(--ej-font-display);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 36px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.ej-contact-panel > div > p {
  margin: 0 0 22px;
  opacity: 0.9;
}

.ej-phone-xl {
  display: inline-block;
  font-family: var(--ej-font-display);
  font-weight: 900;
  font-size: clamp(28px, 6vw, 42px);
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ej-red-bright);
  margin-bottom: 22px;
}

.ej-addresses {
  display: grid;
  gap: 14px;
}

.ej-addresses h3 {
  font-family: var(--ej-font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.7);
}

.ej-addresses p {
  margin: 0;
  font-size: 15px;
}

.ej-contact-map {
  margin-top: 18px;
  width: 520px;
  max-width: 100%;
  height: 380px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.ej-contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  max-width: none;
}

.ej-form {
  display: grid;
  gap: 14px;
}

.ej-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.ej-form input,
.ej-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  font: inherit;
}

.ej-form input::placeholder,
.ej-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.ej-form input:focus,
.ej-form textarea:focus,
.ej-form select:focus {
  border-color: var(--ej-red);
  outline: none;
}

.ej-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.ej-form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--ej-red);
  cursor: pointer;
}

.ej-form-consent a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ej-form-consent a:hover {
  color: var(--ej-red-bright);
}

.ej-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.ej-form-error {
  color: #ffb4c0;
  font-size: 13px;
  min-height: 1.2em;
}

.ej-form-status {
  font-size: 14px;
  color: #c8f7d0;
  min-height: 1.2em;
}

/* Footer */
.ej-footer {
  background: var(--color-primary);
  color: #fff;
  padding: 28px var(--ej-space);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ej-footer-brand {
  font-family: var(--ej-font-display);
  font-weight: 800;
  font-size: 16px;
}

.ej-footer-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ej-footer-hours {
  font-size: 17px;
  line-height: 1.5;
  opacity: 1;
  color: #fff;
}

.ej-footer-hours strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  color: #fff;
}

.ej-footer-hours p {
  margin: 0 0 10px;
  color: #fff;
}

.ej-footer-hours p:last-child {
  margin-bottom: 0;
}

.ej-footer-meta {
  opacity: 0.9;
  font-size: 13px;
}

.ej-footer-meta a {
  color: inherit;
}

.ej-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 13px;
}

.ej-footer-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@keyframes ejFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, -16px);
  }
}

@media (max-width: 767px) {
  .ej-header {
    top: 8px;
    left: 8px;
    right: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    gap: 8px;
  }

  .ej-nav-mobile {
    top: 100px;
    left: 8px;
    right: 8px;
    border-radius: 24px;
  }

  .ej-hero-copy {
    padding-top: clamp(110px, 28vw, 140px);
  }

  .ej-svc-hero {
    padding-top: 120px;
  }

  .ej-page-hero {
    margin-top: 0;
  }

  .ej-page-hero--about {
    /* móvil: top 8 + header ~110 + 6px hueco */
    margin-top: 124px;
  }

  body.ej-inner main {
    padding-top: calc(8px + 92px + var(--ej-header-content-gap));
  }
}

@media (min-width: 768px) {
  .ej-menu-toggle,
  .ej-nav-mobile {
    display: none !important;
  }

  .ej-nav {
    display: flex;
  }

  .ej-cta-phone {
    padding: 11px 20px;
    font-size: 15px;
  }

  .ej-logo {
    height: 96px;
  }

  /* Nosotros / Tienda: 6px de hueco bajo el header (12 + 118 + 6) */
  .ej-page-hero--about {
    margin-top: 136px;
  }

  .ej-hero {
    grid-template-columns: 1.1fr 0.9fr;
    /* Altura hasta la línea roja de la captura (~11% menos que 980) */
    min-height: min(100svh, 870px);
  }

  .ej-hero-copy {
    min-height: min(100svh, 870px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: clamp(160px, 18vw, 200px);
    padding-bottom: clamp(48px, 6vw, 72px);
  }

  .ej-hero-copy > h1,
  .ej-hero-copy > p {
    width: 100%;
  }

  .ej-hero-media {
    min-height: 100%;
  }

  .ej-hero-media img {
    position: absolute;
    inset: 0;
    min-height: 100%;
    object-position: center 30%;
  }

  .ej-row {
    grid-template-columns: 220px 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 26px 30px;
  }

  .ej-service-highlights {
    grid-template-columns: repeat(3, 1fr);
  }

  .ej-service-card.ej-row {
    grid-template-columns: 1fr;
    min-height: 145px;
    justify-content: center;
  }

  .ej-service-card--center {
    grid-column: 2;
  }

  .ej-trust {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .ej-band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .ej-contact-panel {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }

  .ej-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
  }

  .ej-footer-meta {
    max-width: 340px;
  }

  .ej-svc-hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }

  .ej-svc-hero-copy {
    border-radius: 22px 0 0 22px;
    /* Más alto para que entre toda la circunferencia del plato */
    min-height: 600px;
  }

  .ej-svc-hero-media {
    border-radius: 0 22px 22px 0;
    min-height: 600px;
    height: auto;
    margin-top: 0;
    align-self: stretch;
  }

  .ej-svc-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    min-height: 0;
    object-fit: cover;
  }

  .ej-svc-intro {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .ej-info-split {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 48px var(--ej-space);
  }

  .ej-info-split--text {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .ej-info-split--rail {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding-bottom: 96px;
  }

  .ej-info-split--rail .ej-info-split-copy {
    grid-column: 2;
  }

  .ej-info-split--reverse .ej-info-split-media {
    order: 2;
  }

  .ej-info-split--reverse .ej-info-split-copy {
    order: 1;
  }

  .ej-info-split-media {
    min-height: 340px;
  }

  .ej-info-split--tall .ej-info-split-media {
    min-height: 480px;
  }

  .ej-info-split--tall .ej-info-split-media--sm {
    min-height: 0;
    max-width: min(92%, 500px);
    margin-inline: auto;
    justify-self: center;
    align-self: center;
  }

  .ej-svc-offers {
    grid-template-columns: repeat(3, 1fr);
  }

  .ej-svc-related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ej-budget-panel {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .ej-blob {
    animation: none;
  }

  .ej-chip,
  .ej-cta-phone,
  .ej-btn {
    transition: none;
  }
}
