/* ==========================================================================
   Consorcioweb — Landing "Sitio en construcción"
   Paleta derivada del logo (teal / verde azulado)
   ========================================================================== */

:root {
  --teal-900: #0A4550;
  --teal-800: #0E5C68;
  --teal-700: #14707E;
  --teal-500: #1E8C97;
  --teal-300: #56C7C7;
  --teal-100: #E6F4F4;
  --ink: #12323A;
  --muted: #5C7A80;
  --white: #FFFFFF;
  --radius: 22px;
  --shadow: 0 24px 60px -18px rgba(10, 69, 80, 0.35);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 15% 0%, #EAF7F7 0%, transparent 60%),
    radial-gradient(900px 500px at 90% 100%, #DFF2F2 0%, transparent 55%),
    linear-gradient(160deg, #F7FCFC 0%, #EDF7F7 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 18px;
  overflow-x: hidden;
}

/* ---------- Esferas decorativas ---------- */
.bg-orbs { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  animation: float 14s ease-in-out infinite;
}

.orb-1 { width: 380px; height: 380px; top: -120px; left: -100px;
         background: radial-gradient(circle, #7FE0DA, transparent 70%); }
.orb-2 { width: 420px; height: 420px; bottom: -160px; right: -120px;
         background: radial-gradient(circle, #4EB8C8, transparent 70%);
         animation-delay: -5s; }
.orb-3 { width: 260px; height: 260px; top: 45%; left: 60%;
         background: radial-gradient(circle, #A8EDE4, transparent 70%);
         animation-delay: -9s; }

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(20px, -28px, 0) scale(1.07); }
}

/* ---------- Tarjeta principal ---------- */
.card {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px 44px 40px;
  text-align: center;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Logo ---------- */
.logo {
  width: min(420px, 82%);
  height: auto;
  display: block;
  margin: 0 auto 26px;
  filter: drop-shadow(0 10px 24px rgba(14, 92, 104, 0.18));
}

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-800);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 0 rgba(30, 140, 151, 0.6);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(30, 140, 151, 0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(30, 140, 151, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 140, 151, 0); }
}

/* ---------- Tipografía ---------- */
h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4.2vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--teal-900);
}

.grad {
  background: linear-gradient(100deg, var(--teal-500), var(--teal-300) 45%, var(--teal-700));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lead {
  margin: 0 auto 30px;
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(0.98rem, 2.2vw, 1.08rem);
  line-height: 1.65;
}

/* ---------- Barra de progreso ---------- */
.progress {
  position: relative;
  height: 12px;
  width: 100%;
  max-width: 460px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #E3EFEF;
  overflow: hidden;
}

.progress-bar {
  position: absolute;
  inset: 0;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-700), var(--teal-300));
  background-size: 200% 100%;
  animation: slide 2.4s ease-in-out infinite, shimmer 3s linear infinite;
}

@keyframes slide {
  0%   { width: 18%; transform: translateX(-10%); }
  50%  { width: 58%; transform: translateX(30%); }
  100% { width: 18%; transform: translateX(110%); }
}

@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.progress-label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 30px;
}

/* ---------- Botón ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
  color: var(--white);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 28px -10px rgba(14, 92, 104, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 20px 36px -12px rgba(14, 92, 104, 0.65);
  outline: none;
}

.btn:active { transform: translateY(-1px); }

.email {
  margin: 18px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.email::before { content: "✉ "; }

/* ---------- Footer ---------- */
footer {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 520px) {
  .card { padding: 34px 22px 30px; border-radius: 18px; }
  .logo { width: 88%; }
  .badge { font-size: 0.72rem; padding: 7px 13px; }
}

/* ---------- Accesibilidad: menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  .orb, .badge-dot, .progress-bar, .card { animation: none !important; }
  .btn, .btn:hover { transition: none; }
}
