/* ========================================================= */
/* --- KOFEE: PÁGINA DE MANTENIMIENTO / EN DESARROLLO --- */
/* ========================================================= */

.mantenimiento-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: radial-gradient(circle at 50% 15%, #faf4ed 0%, #f5ebe0 60%, #eedfd0 100%);
  color: var(--primary-color, #4a3728);
  font-family: var(--secondary-font, "Quicksand", sans-serif);
  padding: 2.5rem 1.5rem 1.5rem;
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden;
}

/* Marca de agua sutil de fondo */
.mantenimiento-body::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(138, 154, 91, 0.14) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.mantenimiento-body::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 55, 40, 0.09) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Header con logo */
.mantenimiento-header {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.mantenimiento-logo {
  height: 52px;
  width: auto;
  transition: transform 0.3s ease;
}

.mantenimiento-logo:hover {
  transform: scale(1.03);
}

/* Contenedor Principal */
.mantenimiento-main {
  position: relative;
  z-index: 1;
  max-width: 820px;
  width: 100%;
  text-align: center;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

/* Badge Animado */
.mantenimiento-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: rgba(74, 55, 40, 0.08);
  border: 1px solid rgba(74, 55, 40, 0.16);
  padding: 0.5rem 1.35rem;
  border-radius: 9999px;
  font-family: var(--principal-font, "Poppins", sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-color, #4a3728);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: var(--tertiary-color, #8a9a5b);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(138, 154, 91, 0.7);
  animation: pulse-green 2s infinite ease-in-out;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(138, 154, 91, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(138, 154, 91, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(138, 154, 91, 0);
  }
}

/* Icono central ilustrado */
.mantenimiento-icon-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 36px rgba(74, 55, 40, 0.1);
  border: 2px solid rgba(138, 154, 91, 0.25);
  margin-top: 0.5rem;
}

.mantenimiento-icon-svg {
  width: 58px;
  height: 58px;
}

.steam-line {
  animation: float-steam 2.4s infinite ease-in-out;
}

.steam-line-2 {
  animation: float-steam 2.4s infinite ease-in-out 0.6s;
}

.steam-line-3 {
  animation: float-steam 2.4s infinite ease-in-out 1.2s;
}

@keyframes float-steam {
  0% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-5px);
    opacity: 0.9;
  }
  100% {
    transform: translateY(-10px);
    opacity: 0;
  }
}

/* Títulos */
.mantenimiento-title {
  font-family: var(--principal-font, "Poppins", sans-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-color, #4a3728);
  letter-spacing: -0.02em;
}

.mantenimiento-title .highlight {
  color: var(--tertiary-color, #8a9a5b);
  position: relative;
  display: inline-block;
}

.mantenimiento-desc {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.6;
  max-width: 660px;
  color: #5c4737;
  font-weight: 500;
}

/* Cuadrícula de Pilares / Progreso */
.mantenimiento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  width: 100%;
  margin-top: 0.5rem;
}

.mantenimiento-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(217, 208, 196, 0.7);
  border-radius: 18px;
  padding: 1.75rem 1.4rem;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(74, 55, 40, 0.04);
}

.mantenimiento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(74, 55, 40, 0.08);
}

.card-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-color: rgba(138, 154, 91, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--tertiary-color, #8a9a5b);
}

.card-icon-svg {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.mantenimiento-card h3 {
  font-family: var(--principal-font, "Poppins", sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color, #4a3728);
  margin-bottom: 0.4rem;
}

.mantenimiento-card p {
  font-size: 0.94rem;
  line-height: 1.5;
  color: #6a5749;
}

/* Caja de Notificación por Email */
.mantenimiento-subscribe {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.25rem 2.5rem;
  width: 100%;
  box-shadow: 0 12px 32px rgba(74, 55, 40, 0.07);
  border: 1px solid rgba(217, 208, 196, 0.85);
  margin-top: 0.5rem;
}

.mantenimiento-subscribe h4 {
  font-family: var(--principal-font, "Poppins", sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color, #4a3728);
  margin-bottom: 0.4rem;
}

.mantenimiento-subscribe p {
  font-size: 0.96rem;
  color: #6a5749;
  margin-bottom: 1.25rem;
}

.mantenimiento-form {
  display: flex;
  gap: 0.75rem;
  max-width: 520px;
  margin: 0 auto;
}

.mantenimiento-input {
  flex: 1;
  padding: 0.95rem 1.25rem;
  border-radius: 12px;
  border: 1.5px solid #d9d0c4;
  font-family: var(--secondary-font, "Quicksand", sans-serif);
  font-size: 1rem;
  outline: none;
  background: #faf7f2;
  color: var(--primary-color, #4a3728);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.mantenimiento-input:focus {
  border-color: var(--primary-color, #4a3728);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(74, 55, 40, 0.12);
}

.mantenimiento-btn {
  background-color: var(--primary-color, #4a3728);
  color: #ffffff;
  border: none;
  padding: 0.95rem 1.6rem;
  border-radius: 12px;
  font-family: var(--principal-font, "Poppins", sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s, transform 0.2s;
  white-space: nowrap;
}

.mantenimiento-btn:hover {
  background-color: #35261b;
  transform: translateY(-1px);
}

.mantenimiento-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 1rem;
  text-align: center;
}

.success-content {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.success-icon-svg {
  width: 20px;
  height: 20px;
  color: #166534;
}

/* ========================================================= */
/* --- FOOTER EXCLUSIVO DE MANTENIMIENTO (ALTA VISIBILIDAD) --- */
/* ========================================================= */

.mantenimiento-footer {
  width: 100%;
  max-width: 820px;
  margin: 3.5rem auto 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(74, 55, 40, 0.15);
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1.25rem !important;
  text-align: center !important;
  background: transparent !important; /* Anula cualquier fondo heredado de layout.css */
}

.mantenimiento-contact-title {
  font-family: var(--principal-font, "Poppins", sans-serif);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6a5749;
}

.mantenimiento-socials {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 1rem !important;
  align-items: center !important;
}

.mantenimiento-contact-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  background-color: #ffffff !important;
  border: 1.5px solid rgba(74, 55, 40, 0.2) !important;
  color: #4a3728 !important;
  padding: 0.75rem 1.4rem !important;
  border-radius: 9999px !important;
  font-family: var(--principal-font, "Poppins", sans-serif) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(74, 55, 40, 0.06) !important;
  transition: all 0.25s ease !important;
}

.mantenimiento-contact-pill:hover {
  background-color: var(--primary-color, #4a3728) !important;
  border-color: var(--primary-color, #4a3728) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(74, 55, 40, 0.15) !important;
}

.mantenimiento-contact-pill:hover .pill-icon-svg {
  filter: brightness(0) invert(1) !important;
}

.pill-icon-svg {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
  transition: filter 0.25s ease !important;
}

.mantenimiento-legal {
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
  color: #5c4737 !important;
  max-width: 620px !important;
}

/* Responsividad */
@media (max-width: 640px) {
  .mantenimiento-body {
    padding: 2rem 1rem 1rem;
  }

  .mantenimiento-form {
    flex-direction: column;
  }

  .mantenimiento-subscribe {
    padding: 1.75rem 1.25rem;
  }

  .mantenimiento-btn {
    width: 100%;
  }

  .mantenimiento-grid {
    grid-template-columns: 1fr;
  }

  .mantenimiento-socials {
    flex-direction: column;
    width: 100%;
  }

  .mantenimiento-contact-pill {
    width: 100%;
    justify-content: center;
  }
}
