:root {
  --ej-red: #ff7e0b;
  --ej-red-hover: #e56a00;
  --ej-red-bright: #ff7e0b;
  --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);
  --ej-header-h: 110px;
  --ej-header-top: 12px;
  --ej-header-content-gap: 16px; /* el doble del gap del menú (8px) */
}

*,
*::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-homolog,
.ej-prose,
.ej-band,
.ej-contact,
.ej-footer,
main {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

/* Header — píldora flotante fija (como Electrónica Japón) */
.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;
  height: auto;
  min-height: 72px;
  padding: 10px 26px;
  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: 68px;
  width: auto;
  display: block;
}

.ej-nav {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  flex: 1 1 auto;
  justify-content: center;
  flex-wrap: nowrap;
  min-width: 0;
}

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

.ej-nav > a:hover,
.ej-nav > a[aria-current="page"],
.ej-nav > a.is-active,
.ej-dropdown.is-active > .ej-dropdown-toggle,
.ej-dropdown-toggle:hover {
  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-dropdown {
  position: relative;
}

.ej-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  color: inherit;
  white-space: normal;
  text-align: left;
  max-width: none;
  line-height: 1.2;
}

.ej-dropdown-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.ej-dropdown.is-open > .ej-dropdown-toggle .ej-dropdown-caret,
.ej-dropdown:hover > .ej-dropdown-toggle .ej-dropdown-caret {
  transform: rotate(180deg);
}

.ej-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  padding: 12px 0 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  z-index: 60;
}

.ej-dropdown-menu::before {
  content: "";
  position: absolute;
  inset: 12px 0 0;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  z-index: -1;
}

.ej-dropdown.is-open > .ej-dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 8px 8px;
}

.ej-dropdown-menu a {
  position: relative;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 13px;
  white-space: normal;
  line-height: 1.3;
  transition: background 0.15s ease, color 0.15s ease;
}

.ej-dropdown-menu a:hover,
.ej-dropdown-menu a:focus-visible,
.ej-dropdown-menu a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.ej-cta-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--ej-red);
  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;
}

.ej-cta-phone:hover {
  background: var(--ej-red-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: 4px;
  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: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  position: fixed;
  top: 100px;
  left: 12px;
  right: 12px;
  z-index: 99;
  max-height: calc(100svh - 120px);
  overflow-y: auto;
}

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

.ej-nav-mobile > a,
.ej-nav-mobile .ej-dropdown-toggle {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  padding: 10px 4px;
  text-align: left;
}

.ej-nav-mobile .ej-dropdown-toggle {
  width: 100%;
  justify-content: space-between;
  max-width: none;
}

.ej-nav-mobile .ej-dropdown-menu {
  position: static;
  transform: none;
  left: auto;
  top: auto;
  min-width: 0;
  margin: 0 0 8px;
  padding: 8px;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
}

.ej-nav-mobile .ej-dropdown-menu::before {
  display: none;
}

.ej-nav-mobile .ej-dropdown.is-open > .ej-dropdown-menu {
  padding: 8px;
}

/* Páginas interiores: espacio bajo el header flotante (= top + alto + 2× gap menú) */
body.ej-inner main {
  padding-top: calc(var(--ej-header-top) + var(--ej-header-h) + var(--ej-header-content-gap));
}

/* Nosotros: el hero gestiona su propio margen bajo el header */
body.ej-inner main:has(.ej-page-hero--about) {
  padding-top: 0;
}

/* Hero (solo Inicio: alto de viewport con franja blanca abajo) */
.ej-hero {
  display: grid;
  grid-template-columns: 1fr;
}

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

.ej-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: clamp(110px, 26vw, 140px);
}

.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(--ej-red);
}

.ej-btn-red:hover {
  background: var(--ej-red-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 center;
  display: block;
}

.ej-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-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-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: 90px;
}

.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(--ej-red-bright);
}

/* Trust */
.ej-trust {
  padding: 36px var(--ej-space) 80px;
  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(20px, 2.4vw, 26px);
  line-height: 1.15;
}

.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;
}

/* Homologaciones */
.ej-homolog {
  padding: 72px 0 48px;
  width: 100%;
}

.ej-homolog-card {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 48px);
  background: var(--ej-ink);
  border: 0;
  box-shadow: none;
  text-align: center;
  color: #fff;
  box-sizing: border-box;
}

.ej-homolog-card h2 {
  margin: 0 0 40px;
  font-family: var(--ej-font-display);
  font-weight: 900;
  font-size: clamp(22px, 3.2vw, 28px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.ej-homolog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  width: 100%;
  align-items: start;
}

.ej-homolog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
}

.ej-homolog-list li {
  max-width: none;
  width: 100%;
}

.ej-homolog-cert {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.ej-homolog-badge {
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (min-width: 900px) {
  .ej-homolog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 40px;
  }
}

/* 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-svc-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  padding: 24px var(--ej-space) 8px;
}

.ej-svc-hero-copy {
  background: var(--ej-red);
  color: #fff;
  padding: clamp(36px, 6vw, 52px) clamp(24px, 4vw, 44px);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}

.ej-svc-hero-copy h1 {
  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.92;
  margin: 0 0 28px;
  max-width: 420px;
}

.ej-svc-hero-note {
  position: relative;
  display: block;
  width: fit-content;
  max-width: min(100%, 340px);
  margin: -10px 0 20px;
  padding: 0;
  font-family: var(--ej-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-transform: none;
  opacity: 0.72;
  color: #fff;
  background: none;
  border: 0;
  border-radius: 0;
}

.ej-svc-hero-copy .ej-btn + .ej-svc-hero-note {
  margin: 14px 0 0;
}

.ej-svc-hero-media {
  position: relative;
  background: #eceae5;
  border-radius: 22px;
  overflow: hidden;
  min-height: 240px;
  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;
}

/* Foto real: cuadro cuadrado para retratos (p. ej. Extintores) */
.ej-svc-hero-media:not(:has(.ej-placeholder)) {
  aspect-ratio: 1 / 1;
  min-height: 0;
  width: 100%;
}

/* Apaisadas: más bajas (recorte tipo Alarmas de robo) */
.ej-svc-hero-media--landscape:not(:has(.ej-placeholder)) {
  aspect-ratio: 7 / 5;
}

/* Retrato recortado (Extintores): más bajo, prioriza sujeto inferior */
.ej-svc-hero-media--portrait-crop:not(:has(.ej-placeholder)) {
  aspect-ratio: 3 / 2;
}

/* Cuadrado acortado ~1/4 (Videovigilancia): ancho completo, menos alto */
.ej-svc-hero-media--short-square:not(:has(.ej-placeholder)) {
  aspect-ratio: 4 / 3;
}

.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-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-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-receptor {
  padding: 72px var(--ej-space) 48px;
  text-align: center;
}

.ej-receptor-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 440px;
  margin: 0 auto;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.ej-receptor-text {
  margin: 0;
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ej-ink);
}

.ej-receptor-brand {
  margin: 6px 0 0;
  font-family: var(--ej-font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.2;
  color: var(--ej-ink);
}

.ej-receptor-logo {
  width: min(280px, 72vw);
  height: auto;
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ej-receptor-link:hover .ej-receptor-logo,
.ej-receptor-link:focus-visible .ej-receptor-logo {
  opacity: 0.82;
  transform: scale(1.03);
}

.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: 90px;
}

.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-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 {
  border-color: var(--ej-red);
}

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

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

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

/* Footer */
.ej-footer {
  background: var(--ej-red);
  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-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;
}

.ej-page-hero--about {
  margin: 128px var(--ej-space) 8px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--ej-red);
  color: #fff;
  padding: clamp(42px, 8vw, 66px) var(--ej-space) clamp(42px, 7vw, 62px);
}

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

.ej-page-hero--about h1 {
  margin: 0;
  font-family: var(--ej-font-display);
  font-weight: 900;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 0.95;
  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);
}

.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-split--text {
  grid-template-columns: 1fr;
  max-width: 720px;
}

.ej-info-split--tall {
  align-items: stretch;
}

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

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

.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;
}

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

@media (min-width: 768px) {
  .ej-cta-phone {
    padding: 11px 20px;
    font-size: 15px;
  }

  .ej-logo {
    height: 88px;
  }

  .ej-hero {
    grid-template-columns: 1.1fr 0.9fr;
    /* Casi viewport, con franja blanca debajo (como Electrónica) */
    min-height: calc(100svh - 56px);
  }

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

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

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

  .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-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: center;
  }

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

  .ej-svc-hero-copy {
    border-radius: 22px 0 0 22px;
  }

  .ej-svc-hero-media {
    border-radius: 0 22px 22px 0;
    min-height: 360px;
    margin-top: 0;
  }

  .ej-svc-hero-media:not(:has(.ej-placeholder)) {
    min-height: 0;
    aspect-ratio: 1 / 1;
    align-self: stretch;
  }

  .ej-svc-hero-media--landscape:not(:has(.ej-placeholder)) {
    aspect-ratio: 7 / 5;
  }

  .ej-svc-hero-media--portrait-crop:not(:has(.ej-placeholder)) {
    aspect-ratio: 3 / 2;
  }

  .ej-svc-hero-media--short-square:not(:has(.ej-placeholder)) {
    aspect-ratio: 4 / 3;
  }

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

  .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;
  }

  .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--tall .ej-info-split-media {
    min-height: 420px;
  }
}

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

  .ej-nav {
    display: flex;
    font-size: 16.5px;
  }

  .ej-dropdown:hover > .ej-dropdown-menu,
  .ej-dropdown:focus-within > .ej-dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 20px 8px 8px;
  }
}

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

  .ej-nav-mobile {
    top: 92px;
    left: 8px;
    right: 8px;
  }

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

  .ej-page-hero--about {
    margin-top: 120px;
  }
}

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

  .ej-blob {
    animation: none;
  }

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