.brand-gradient { background-image: linear-gradient(135deg, var(--primary), var(--accent)); }
.shadow-theme {
  box-shadow:
    calc(var(--shadow-offset-x, 0) * 1px) calc(var(--shadow-offset-y, 10) * 1px)
    calc(var(--shadow-blur, 30) * 1px) calc(var(--shadow-spread, -8) * 1px)
    var(--shadow-color, rgba(15, 23, 42, 0.12));
}
#ez-map-panel { max-height: 600px; height: 600px; }
#ez-power-map { width: 100%; height: 100%; z-index: 0; }
#ez-station-list { scrollbar-width: thin; scrollbar-color: rgba(34, 197, 94, 0.35) transparent; }
#ez-station-list::-webkit-scrollbar { width: 6px; }
#ez-station-list::-webkit-scrollbar-thumb { background: rgba(34, 197, 94, 0.35); border-radius: 999px; }
.ez-map-popup { font-family: "Plus Jakarta Sans", sans-serif; }
.ez-map-popup strong { display: block; font-size: 14px; color: #0f172a; margin-bottom: 4px; }
.ez-map-popup span { display: block; font-size: 12px; color: #64748b; line-height: 1.4; }
.ez-station-item.active { border-color: rgba(34, 197, 94, 0.5); background: rgba(34, 197, 94, 0.08); }
.ez-leaflet-marker { background: transparent; border: none; }
.leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12); }
.leaflet-popup-content { margin: 12px 14px; line-height: 1.4; }
.leaflet-control-attribution { font-size: 10px; }
html { scroll-behavior: smooth; }
section[id], form[id], [data-scroll-anchor] {
  scroll-margin-top: 7.5rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
#mobile-menu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}
#mobile-menu.is-open {
  max-height: 28rem;
  opacity: 1;
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  #mobile-menu { transition: none; }
}
body.mobile-menu-open { overflow: hidden; }

/* Header + Hero layout (clases compiladas de Tailwind insuficientes para esta diagramación) */
.ez-site-header-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem 1rem 0;
}
.ez-site-header-bar {
  max-width: 80rem;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.ez-site-header-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 4.5rem;
  padding: 0 1.25rem;
  position: relative;
}
@media (min-width: 1024px) {
  .ez-site-header-row {
    min-height: 5rem;
    padding: 0 1.5rem;
  }
}
.ez-site-header-logo {
  flex-shrink: 0;
}
.ez-site-header-nav {
  display: none;
  margin-left: auto;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .ez-site-header-nav {
    display: flex;
    right: 30px;
  }
}
.ez-site-header-actions {
  display: none;
  margin-left: auto;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .ez-site-header-actions {
    display: flex;
    align-items: center;
  }
}
.ez-site-header-menu-btn {
  margin-left: auto;
}
@media (min-width: 768px) {
  .ez-site-header-menu-btn {
    display: none;
  }
}
.ez-hero {
  position: relative;
  width: 100%;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ez-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.18) 0%,
    rgba(15, 23, 42, 0.05) 45%,
    rgba(15, 23, 42, 0.12) 100%
  );
}
.ez-hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 7.5rem 1.5rem 4rem;
}
.ez-hero__card {
  max-width: 36rem;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow:
    0 10px 30px -8px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(15, 23, 42, 0.04);
  text-align: left;
}
@media (min-width: 1024px) {
  .ez-hero__card {
    padding: 2.5rem;
  }
}
.ez-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.ez-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .ez-hero__actions {
    flex-direction: row;
    align-items: center;
  }
}
.ez-btn-pill {
  border-radius: 9999px;
}
.ez-hero__btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
}
.ez-hero__btn-secondary:hover {
  background: #ffffff;
}

.ez-logos-carousel {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.ez-logos-track {
  display: flex;
  width: max-content;
  animation: ez-logos-scroll 32s linear infinite;
}
.ez-logos-carousel:hover .ez-logos-track {
  animation-play-state: paused;
}
.ez-logos-group {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding: 0 1.75rem;
}
.ez-logos-group img {
  max-width: 180px;
  width: auto;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  opacity: 0.65;
  filter: grayscale(100%);
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}
.ez-logos-group img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.03);
}
@keyframes ez-logos-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ez-logos-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; gap: 2rem; }
  .ez-logos-group { padding: 0; justify-content: center; flex-wrap: wrap; }
  .ez-logos-carousel { mask-image: none; -webkit-mask-image: none; }
}
