/* Página de mantención de embosur.cl.
   Sin CSS ni JS en línea: la CSP del sitio (style-src 'self'; script-src 'self') los bloquea.
   Paleta tomada del logo de Embosur. */
:root {
  --navy-deep: #141b52;
  --navy: #27348B;
  --sky: #009FE3;
  --green: #95C11F;
  --white-70: rgba(255, 255, 255, .78);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #fff;
  line-height: 1.5;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(0, 159, 227, .45), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(0, 159, 227, .25), transparent 60%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #1f4fa8 100%);
}

.panel {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(560px, 100% - 32px);
  padding: 56px 0 140px;
  text-align: center;
  animation: rise .8s ease-out both;
}

.logo { width: 200px; max-width: 60vw; height: auto; margin-bottom: 28px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(149, 193, 31, .7);
  animation: ping 2s ease-out infinite;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
}
.lead { margin: 0 0 32px; color: var(--white-70); font-size: clamp(1rem, 2.4vw, 1.1rem); }

.actions { display: grid; gap: 12px; width: 100%; }
.action {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  text-align: left;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}
.action svg {
  flex: 0 0 40px;
  height: 40px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
}
.action span { display: flex; flex-direction: column; font-weight: 600; }
.action small { color: var(--white-70); font-weight: 400; font-size: .8rem; }
.action:hover, .action:focus-visible {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .4);
  transform: translateY(-1px);
}
.action:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.action--primary { background: var(--sky); border-color: var(--sky); }
.action--primary svg { background: rgba(255, 255, 255, .22); }
.action--primary:hover, .action--primary:focus-visible { background: #0b8fd0; border-color: #0b8fd0; }

.footer {
  position: relative;
  z-index: 1;
  padding: 0 16px 20px;
  color: var(--white-70);
  font-size: .85rem;
  text-align: center;
}

.waves {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 160px;
  pointer-events: none;
  animation: drift 18s linear infinite;
}
.wave--back { fill: rgba(0, 159, 227, .18); }
.wave--front { fill: rgba(255, 255, 255, .07); }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(149, 193, 31, .7); }
  80%, 100% { box-shadow: 0 0 0 10px rgba(149, 193, 31, 0); }
}
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .panel, .badge__dot, .waves { animation: none; }
  .action { transition: none; }
}
