/* ==========================================================================
   RODARCOL - Página de Expectativa Manizales
   css/expectativa.css
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --primary: #e52727;
  --primary-glow: rgba(229, 39, 39, 0.45);
  --primary-hover: #ff3333;
  --primary-dark: #b31414;
  --dark-bg: #0b0d11;
  --dark-card: rgba(20, 23, 29, 0.85);
  --dark-border: rgba(255, 255, 255, 0.08);
  --dark-border-glow: rgba(229, 39, 39, 0.3);
  --text-main: #ffffff;
  --text-muted: #9aa4b2;
  --text-highlight: #ff5252;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark-bg);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(229, 39, 39, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 10% 90%, rgba(229, 39, 39, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(229, 39, 39, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Fondo decorativo con líneas de velocidad y cuadrícula sutil */
.bg-grid-overlay {
  position: fixed;
  inset: 0;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.ambient-top {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(229, 39, 39, 0.35) 0%, transparent 70%);
}

.ambient-bottom {
  bottom: -200px;
  right: 10%;
  background: radial-gradient(circle, rgba(229, 39, 39, 0.2) 0%, transparent 70%);
}

/* Contenedor Principal */
.expectation-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Badge Superior */
.badge-location {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(229, 39, 39, 0.12);
  border: 1px solid rgba(229, 39, 39, 0.35);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff6b6b;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(229, 39, 39, 0.2);
  animation: fadeInDown 0.8s ease-out;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--primary);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
    box-shadow: 0 0 0 0 rgba(229, 39, 39, 0.7);
  }

  70% {
    transform: scale(1.2);
    opacity: 1;
    box-shadow: 0 0 0 8px rgba(229, 39, 39, 0);
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
    box-shadow: 0 0 0 0 rgba(229, 39, 39, 0);
  }
}

/* Vitrina de Imagen Principal */
.image-showcase {
  width: 100%;
  max-width: 980px;
  position: relative;
  margin-bottom: 36px;
  border-radius: 20px;
  padding: 6px;
  background: linear-gradient(135deg, rgba(229, 39, 39, 0.5) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(229, 39, 39, 0.3) 100%);
  box-shadow:
    0 20px 50px -10px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(229, 39, 39, 0.25);
  animation: zoomFade 1s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  display: block;
}

.image-showcase img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.image-showcase:hover img {
  transform: scale(1.02);
}

/* Efecto de brillo de lente / resplandor sobre la imagen */
.image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 65%, rgba(11, 13, 17, 0.85) 100%);
  pointer-events: none;
}

/* Bloque de Contenido y Textos */
.content-box {
  text-align: center;
  max-width: 840px;
  animation: fadeInUp 0.9s ease-out 0.2s both;
}

.main-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: #ffffff;
}

.title-highlight {
  background: linear-gradient(135deg, #ff3b3b 0%, #bd0000 50%, #9c0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(229, 39, 39, 0.5);
  display: inline-block;
}

.main-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.main-subtitle strong {
  color: #ffffff;
  font-weight: 600;
}

.link-preparate {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.link-preparate:hover {
  color: #ff4747;
  text-decoration-color: #ff4747;
  text-shadow: 0 0 12px rgba(229, 39, 39, 0.5);
}

/* Tarjeta de Progreso / Estado */
.status-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 24px 30px;
  border-radius: 18px;
  margin-bottom: 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #cbd5e1;
}

.status-percentage {
  color: #ff4747;
  font-weight: 800;
  font-family: var(--font-heading);
}

.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  width: 90%;
  background: linear-gradient(90deg, #e52727, #ff5e5e);
  border-radius: 10px;
  position: relative;
  box-shadow: 0 0 14px rgba(229, 39, 39, 0.7);
  animation: loadProgress 2s ease-out;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shineProgress 2s infinite;
}

@keyframes loadProgress {
  from {
    width: 0%;
  }

  to {
    width: 90%;
  }
}

@keyframes shineProgress {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* Botones y Acciones */
.actions-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-heading);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  border: 1px solid #20ba5a;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

.btn-contact {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-contact:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-catalog-peek {
  background: linear-gradient(135deg, #e52727, #b31414);
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 20px rgba(229, 39, 39, 0.35);
}

.btn-catalog-peek:hover {
  background: linear-gradient(135deg, #ff3333, #c91818);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(229, 39, 39, 0.5);
}

/* Notificación por Correo / Interacción Rápida */
.notify-form {
  display: flex;
  max-width: 440px;
  width: 100%;
  margin: 0 auto 30px;
  position: relative;
}

.notify-input {
  width: 100%;
  padding: 14px 140px 14px 20px;
  background: rgba(20, 23, 29, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: all 0.25s;
}

.notify-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(229, 39, 39, 0.3);
}

.notify-input::placeholder {
  color: #64748b;
}

.notify-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-heading);
}

.notify-btn:hover {
  background: var(--primary-hover);
}

.notify-message {
  font-size: 0.85rem;
  margin-top: 8px;
  color: #10b981;
  display: none;
  text-align: center;
}

/* Footer Minimalista */
.site-footer {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(11, 13, 17, 0.7);
  backdrop-filter: blur(10px);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #64748b;
  font-size: 0.85rem;
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-info a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-info a:hover {
  color: #ffffff;
}

.footer-divider {
  opacity: 0.3;
}

/* Animaciones */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomFade {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Responsividad */
@media (max-width: 768px) {
  .expectation-container {
    padding: 24px 16px 40px;
  }

  .image-showcase {
    margin-bottom: 24px;
    border-radius: 14px;
    padding: 3px;
  }

  .image-wrapper {
    border-radius: 12px;
  }

  .status-card {
    padding: 18px 20px;
    margin-bottom: 26px;
  }

  .actions-row {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
  }

  .btn {
    width: 100%;
  }

  .notify-form {
    flex-direction: column;
    gap: 10px;
  }

  .notify-input {
    padding: 14px 20px;
    border-radius: 12px;
  }

  .notify-btn {
    position: static;
    padding: 14px;
    border-radius: 12px;
    width: 100%;
  }
}