:root {
  --eed-primary: #0B5ED7;
  --eed-accent: #00ADEF;
  --eed-text: #2C3548;
  --eed-muted: #5b6578;
  --eed-surface: #f4f8fc;
  --eed-white: #ffffff;
  --bs-primary: #0B5ED7;
  --bs-primary-rgb: 11, 94, 215;
  --bs-body-color: #2C3548;
  --bs-link-color: #0B5ED7;
  --bs-link-hover-color: #084298;
}

body {
  color: var(--eed-text);
  font-family: "Source Sans 3", system-ui, sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(0, 173, 239, 0.18), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(11, 94, 215, 0.14), transparent 55%),
    linear-gradient(180deg, #eef5fb 0%, #f7fafc 40%, #ffffff 100%);
  min-height: 100vh;
}

h1, h2, h3, .navbar-brand, .eed-display {
  font-family: "Outfit", system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.eed-dev-credit { font-size: 0.85rem; color: var(--eed-muted); }
.eed-dev-credit a { text-decoration: none; color: inherit; }
.eed-dev-credit a:hover { color: var(--eed-primary); }

.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.login-box { width: 100%; max-width: 400px; }

.eed-nav {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(44, 53, 72, 0.08);
}
.eed-nav .navbar-brand img { height: 42px; width: auto; }
.eed-nav .nav-link { font-weight: 600; color: var(--eed-text); }
.eed-nav .nav-link:hover { color: var(--eed-primary); }

.eed-btn {
  --bs-btn-bg: var(--eed-primary);
  --bs-btn-border-color: var(--eed-primary);
  --bs-btn-hover-bg: #084cb0;
  --bs-btn-hover-border-color: #084cb0;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  border-radius: 0.65rem;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
}
.eed-btn-ghost {
  border: 1px solid rgba(11, 94, 215, 0.35);
  color: var(--eed-primary);
  background: transparent;
  border-radius: 0.65rem;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
}
.eed-btn-ghost:hover {
  background: rgba(11, 94, 215, 0.08);
  color: var(--eed-primary);
}

.eed-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-color: #0b2f6b;
  background-image:
    linear-gradient(120deg, rgba(8, 36, 84, 0.86) 0%, rgba(11, 94, 215, 0.68) 48%, rgba(0, 173, 239, 0.42) 100%),
    var(--eed-hero-image, none);
  background-size: cover;
  background-position: center;
}
.eed-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 60%);
  pointer-events: none;
  animation: eedFloat 9s ease-in-out infinite;
}
.eed-hero-inner {
  position: relative;
  z-index: 1;
  padding: 6rem 0 4.5rem;
}
.eed-hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  animation: eedRise 0.8s ease both;
}
.eed-hero-brand img {
  height: 72px;
  width: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.25));
}
.eed-hero-brand span {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
}
.eed-hero h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 600;
  max-width: 18ch;
  margin-bottom: 1rem;
  animation: eedRise 0.9s ease 0.08s both;
}
.eed-hero p {
  max-width: 36rem;
  font-size: 1.1rem;
  opacity: 0.94;
  margin-bottom: 1.75rem;
  animation: eedRise 1s ease 0.16s both;
}
.eed-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: eedRise 1.05s ease 0.24s both;
}
.eed-hero .eed-btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.eed-hero .eed-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.eed-section {
  padding: 4.5rem 0;
}
.eed-section-title {
  margin-bottom: 0.5rem;
}
.eed-section-lead {
  color: var(--eed-muted);
  max-width: 40rem;
  margin-bottom: 2rem;
}

.eed-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.eed-service {
  padding: 1.4rem 1.2rem 1.3rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(11, 94, 215, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.eed-service:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(11, 94, 215, 0.12);
  border-color: rgba(0, 173, 239, 0.35);
}
.eed-service:has(.eed-service-media) {
  padding-top: 0;
}
.eed-service-media {
  display: block;
  margin: 0 -1.2rem 1rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d9e6f5;
}
.eed-service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.eed-service:hover .eed-service-media img {
  transform: scale(1.04);
}
.eed-service-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(11, 94, 215, 0.12), rgba(0, 173, 239, 0.18));
  color: var(--eed-primary);
  font-size: 1.25rem;
  margin-bottom: 0.9rem;
}
.eed-category-head {
  display: grid;
  gap: 1rem;
}
.eed-category-head--media {
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
}
.eed-category-media {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #d9e6f5;
}
.eed-category-media--lg {
  max-width: 420px;
}
.eed-category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 767.98px) {
  .eed-category-head--media {
    grid-template-columns: 1fr;
  }
}
.eed-service h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}
.eed-service p {
  color: var(--eed-muted);
  margin-bottom: 1rem;
}
.eed-price {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
  color: var(--eed-primary);
  font-size: 1.25rem;
}

.eed-section--alt {
  background: linear-gradient(180deg, rgba(11, 94, 215, 0.04), transparent);
}
.eed-desarrollo {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.eed-desarrollo .eed-desarrollo-actions {
  margin-top: auto;
  padding-top: 0.75rem;
}
.eed-desarrollo-cliente {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--eed-primary);
}
.eed-desarrollo-tags {
  font-size: 0.85rem;
  color: var(--eed-muted);
  margin-top: -0.35rem;
}
.eed-desarrollo-hero-media {
  border-radius: 1rem;
  overflow: hidden;
  background: #d9e6f5;
  aspect-ratio: 4 / 3;
}
.eed-desarrollo-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eed-ficha-intro ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
}
.eed-ficha-intro li { margin-bottom: 0.35rem; }

.eed-ficha-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.eed-ficha {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 94, 215, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.eed-ficha:hover {
  border-color: rgba(0, 173, 239, 0.4);
  box-shadow: 0 14px 30px rgba(11, 94, 215, 0.1);
  transform: translateY(-3px);
}
.eed-ficha-head {
  padding: 1.35rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(11, 94, 215, 0.08);
  background: linear-gradient(180deg, rgba(11, 94, 215, 0.06), transparent);
}
.eed-ficha-head h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}
.eed-ficha-head p {
  color: var(--eed-muted);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.eed-ficha-body {
  padding: 1rem 1.25rem 0.5rem;
  flex: 1;
}
.eed-ficha-body .eed-plan-lead {
  color: var(--eed-muted);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}
.eed-plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
}
.eed-plan-features li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.45rem;
  border-bottom: 1px solid rgba(44, 53, 72, 0.06);
  font-size: 0.92rem;
  color: var(--eed-text);
}
.eed-plan-features li:last-child { border-bottom: 0; }
.eed-plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--eed-primary), var(--eed-accent));
}
.eed-ficha-foot {
  padding: 1rem 1.25rem 1.25rem;
}

.eed-footer {
  background: #0d1b33;
  color: rgba(255, 255, 255, 0.86);
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}
.eed-footer a { color: #9fd9f7; text-decoration: none; }
.eed-footer a:hover { color: #fff; }
.eed-footer .eed-dev-credit { color: rgba(255, 255, 255, 0.65); }

.eed-soporte-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.eed-soporte-main {
  flex: 1 0 auto;
}

/* Admin header — contraste del menú */
.app-header.navbar {
  background: #fff !important;
  border-bottom: 1px solid rgba(44, 53, 72, 0.08);
}
.app-header .nav-link {
  color: var(--eed-text) !important;
}
.app-header .eed-admin-toggle {
  color: var(--eed-primary) !important;
  font-size: 1.45rem;
  line-height: 1;
  padding: 0.45rem 0.7rem;
}
.app-header .eed-admin-toggle .bi {
  color: var(--eed-primary) !important;
  font-size: 1.55rem;
}

/* Admin sidebar — colores EED */
.eed-admin-sidebar {
  --eed-sidebar-bg: #0b2f6b;
  background:
    linear-gradient(180deg, var(--eed-sidebar-bg) 0%, #0a2558 55%, #081f4a 100%) !important;
  color: #fff;
  border-right: 1px solid rgba(0, 173, 239, 0.18);
}
.eed-admin-sidebar .sidebar-brand {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.eed-admin-sidebar .brand-link {
  display: flex;
  align-items: center;
  color: #fff !important;
  text-decoration: none;
}
.eed-admin-sidebar .brand-text {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff !important;
}
.eed-admin-sidebar .sidebar-menu .nav-link {
  color: rgba(255, 255, 255, 0.82) !important;
  border-radius: 0.55rem;
  margin: 0.15rem 0.55rem;
}
.eed-admin-sidebar .sidebar-menu .nav-link .nav-icon {
  color: rgba(159, 217, 247, 0.95) !important;
}
.eed-admin-sidebar .sidebar-menu .nav-link:hover {
  background: rgba(0, 173, 239, 0.16) !important;
  color: #fff !important;
}
.eed-admin-sidebar .sidebar-menu .nav-link.active {
  background: linear-gradient(135deg, var(--eed-primary), var(--eed-accent)) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(11, 94, 215, 0.28);
}
.eed-admin-sidebar .sidebar-menu .nav-link.active .nav-icon {
  color: #fff !important;
}
.eed-admin-sidebar .sidebar-wrapper {
  background: transparent !important;
}

.eed-page-hero {
  padding: 3.5rem 0 2rem;
}
.eed-checkout-panel,
.eed-contact-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 94, 215, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
}

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

.eed-pasarela-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(11, 94, 215, 0.15);
  border-radius: 0.75rem;
  margin-bottom: 0.6rem;
  cursor: pointer;
}
.eed-pasarela-option img { height: 24px; width: auto; }
.eed-pasarela-option:has(input:checked) {
  border-color: var(--eed-primary);
  background: rgba(11, 94, 215, 0.06);
}

#social-buttons {
  position: fixed;
  bottom: 100px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 9999;
}
.social-button {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.social-button:hover {
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.social-button svg {
  width: 0.9em;
  height: 0.9em;
  display: block;
}
#whatsapp { background-color: #25d366; }

@keyframes eedRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes eedFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@media (max-width: 575.98px) {
  #social-buttons { bottom: 80px; right: 16px; }
  .social-button { width: 56px; height: 56px; font-size: 28px; }
  .eed-hero-brand img { height: 56px; }
}
